بسم الله الرحمن الرحيم
Imam Sahib is correct. Pharaoh was not drowned in the Nile rather he was drowned in Bahr al-Qulzum (which is known as Red Sea) as well. As the Nile was located towards west of Banu Israel’s dwelling and locality and the route of Bani Israel for Syria was towards East and that route has nothing to do with the Nile. Bahr al-Qulzum (Red Sea) was located near the route from Egypt to Syria. (Tafsir Majidi, p: 27, Tafsir Surah Baqarah, verse 50, Qisas al-Quran, 1: 357)
Allah knows Best!
Darul Uloom Deoband
This answer was collected from the official ifta website of Darul Uloom Deoband in India.