הִנֵּ֥ה יֽוֹם־בָּ֖א לַֽיהוָ֑ה וְחֻלַּ֥ק שְׁלָלֵ֖ךְ בְּקִרְבֵּֽךְ׃
זע, אַ טאָג קומט בײַ גאָט, און דײַן רױב װעט צעטײלט װערן אין דיר.
Shulchan Shel Arba
And now I shall explain to you the three meals of Shabbat. Our rabbis said:255B. Shabbat 119b. A person is required to eat three meals on Shabbat, as it is said, “Eat it today, for today is a Sabbath of the Lord, you will not find it today on the plain.”256Ex 16:25, referring to the manna. There are three mentions of “today,” each corresponding to one of the three meals on Shabbat. And about the reward for this mitzvah they said:257B Shabbat 118a. Whoever fulfills the mitzvah of three meals on Shabbat is rescued from three tribulations: from the birth pangs of the Messiah, from the judgment of Gehenna, and from the wars of Gog and Magog, and for each of these three the Scripture mentions “day.” For the birth pangs of the Messiah – “before the coming of the day of the Lord.”258Mal 3:23: “Lo, I will send the prophet Elijah to you before the coming of the awesome, fearful day of the Lord.” From the judgment of Gehenna – “For lo! That day is at hand, burning like an oven” and it is written, “and the day that is coming shall burn them.” 259Mal 3:19: “For lo! That day is at hand, burning like an oven. All the arrogant and doers of evil shall be straw, and the day that is coming – said the Lord of Hosts – shall burn them to ashes and leave of them neither stalk nor boughs.” And from the wars of Gog and Magog: “Lo, a day of the Lord is coming.”260Zech 14:1, referring to the apocalyptic wars at the end of time. The reason for the three meals of Shabbat corresponds to the three higher states that the soul will have in the eternal and true life that is called “the life of the world to come” (hayye ha-olam ha-ba) and “bundle of life” (tzror ha-hayim).
Mishneh Torah, Prayer and the Priestly Blessing
On the feast of Tabernacles, the section read on each of the first two days is that referring to the Festivals and beginning, "When a bullock or a sheep or a goat is brought forth" (Leviticus 22:26-23:44). The lesson from the Prophets on the first day is that beginning, "Behold, a day of the Lord cometh" (Zechariah 14:1-21). The lesson from the Prophets on the second day is that beginning, "And all the men of Israel assembled themselves unto King Solomon" (I Kings 8:2-21). On the eighth day, the section from the Pentateuch is that beginning, "Every first born" (Deuteronomy 15:19-16:17). The lesson from the Prophets is that beginning, "And it was so that when Solomon had made an end of prayer" (I Kings 8:54-66). On the following day, the weekly portion beginning, "And this is the blessing" (Deuteronomy 33:1-34:12) is read. The lesson from the Prophets is that beginning, "And Solomon stood" (I Kings 8:22-53). Some read, as the lesson from the Prophets that beginning, "Now it came to pass after the death of Moses" (Joshua 1:1-18). On the other (intermediate) days of the Feast, the sections concerning the sacrifices for the festival are read (Numbers 29:17-34).
Shulchan Arukh, Orach Chayim
The order of Torah reading on Sukkot: We take out two Torah scrolls. From the first we read "When an ox or lamb..." from Emor [Leviticus 22:27], and from the second we read the maftir from the section on mussaf sacrifices "On the fifth day of the seventh month" [Numbers 29:12]. The haftarah is from Zachariah "Behold a day is coming..." [14:1].