Шмот 14:28 Галаха: Mishneh Torah, Tefillin, Mezuzah and the Torah Scroll

וַיָּשֻׁ֣בוּ הַמַּ֗יִם וַיְכַסּ֤וּ אֶת־הָרֶ֙כֶב֙ וְאֶת־הַפָּ֣רָשִׁ֔ים לְכֹל֙ חֵ֣יל פַּרְעֹ֔ה הַבָּאִ֥ים אַחֲרֵיהֶ֖ם בַּיָּ֑ם לֹֽא־נִשְׁאַ֥ר בָּהֶ֖ם עַד־אֶחָֽד׃

И вернулись воды, и накрыли колесницы и всадников, и все войско фараоново, которое вошло за ними в море; осталось не так много, как один из них.

Mishneh Torah, Tefillin, Mezuzah and the Torah Scroll

There are other rules mentioned in the Talmud which the scribes observe as a tradition handed down from one to another. They are as follows: The number of lines in each column shall not be less than forty-eight and not more than sixty; the blank spaces between one section and another shall be such that nine letters, e.g., A She R, A She R, A She R, can be written in it. The five lines preceding the Song at the Red Sea (Exodus 14:28, 29, 30, 30, 31) shall begin respectively with the words Habaim, Bayabashah, Hashem, Mes, Bemitzraim. The five lines after it shall begin respectively with the words Vatikach, Achareha, Sus, Vayetzëü, Vayavöü (Exodus 15:20, 20, 21, 22, 23). The six lines before the Song of Moses beginning Haazinu (Deuteronomy 32:1-43) shall respectively commence with the words Veaeedah, Acharé, Haderech, Beacharith, Lehacheeso, Kehal (Deuteronomy 31:28, 29, 29, 29, 29, 30); and the five lines after the Song of Moses shall begin with the words Vayabo, Ledabber, Asher, Hazoth, Asher (Deuteronomy 32:44, 45, 46, 46, 47). All these points of observance are to enable us to fulfill the duty in the best way. Variations in these particulars do not render the scroll unfit for use.