As is stated in the Jerusalem Talmud (Pesachim, chapter 10, halachah 6): “When the Holy One, blessed be He,... · לב אהרן – הגדה של פסח
לב אהרן – הגדה של פסחדהנה איתא בירושלמי (פסחים פרק י הלכה ו): "כשהקדוש ברוך הוא עושה לכם ניסים תהיו אומרין שירה. התיבון [הקשו – קרבן העדה], הרי גאולת מצרים [ולא אמרו שירה אלא על הים – שם]. שנייא היא, שהיא תחילת גאולתן [שאני התם, שהיא היתה תחילת גאולתן, ולא היתה גמר הגאולה עד עברם הים – שם]. מבואר דביציאת מצרים עדיין לא נשלמה הגאולה.
As is stated in the Jerusalem Talmud (Pesachim, chapter 10, halachah 6): “When the Holy One, blessed be He, performs miracles for you, you should recite song.” They objected [i.e., raised the following difficulty — Korban HaEdah]: “But what of the redemption from Egypt [and yet they did not recite song until the sea — ibid.]?” The answer is: “That case is different, because it was only the beginning of their redemption [for there, it was the beginning of their redemption, and the redemption was not completed until they crossed the sea — ibid.].” It is thus clear that with the Exodus from Egypt, the redemption had still not been completed.
אכן, במכילתא דרבי ישמעאל (בשלח – מסכתא דשירה פרשה א) איתא, דאמרו שירה גם ביציאתם ממצרים, וז"ל, "את השירה הזאת" (שמות טו, א), וכי שירה אחת היא, והלא עשר שירות הן, הראשונה, שנאמרה במצרים, שנאמר (ישעיהו ל, כט), "השיר יהיה לכם כליל התקדש חג וגו'". השנייה, שנאמרה על הים, שנאמר, אז ישיר משה וכו', ע"כ.
Indeed, in the Mekhilta of Rabbi Ishmael (Beshalach, Tractate of Shirah, Parashah 1), it is stated that they also sang a song at their departure from Egypt. And this is its wording: “‘This song’ (Exodus 15:1) — is it but one song? Are there not ten songs? The first was said in Egypt, as it is stated (Isaiah 30:29), ‘The song shall be to you as in the night when a festival is sanctified, etc.’ The second was said at the sea, as it is stated, ‘Then Moses sang,’ etc.”