The Talmud
סוכה דף כ״זSukkah 27b
Amud b of Sukkah 27 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Sukkah 27b · סוכה כ״ז ב
אין יוצאין מסוכה לסוכה ואין עושין סוכה בחולו של מועד וחכמים אומרים יוצאין מסוכה לסוכה ועושין סוכה בחולו של מועד ושוין שאם נפלה שחוזר ובונה בחולו של מועד
— one does not go out from sukkah to sukkah, and one does not make a sukkah on the intermediate days of the festival. And the Sages say: one goes out from sukkah to sukkah, and one makes a sukkah on the intermediate days of the festival. And they agree that if it fell, he goes back and builds it on the intermediate days of the festival.
מ"ט דר' אליעזר אמר קרא (דברים טז, יג) חג הסוכות תעשה לך שבעת ימים עשה סוכה הראויה לשבעה ורבנן הכי קאמר רחמנא עשה סוכה בחג
What is the reason of Rabbi Eliezer? The verse says "the festival of Sukkot you shall make for yourself seven days" (Deuteronomy 16:13) — make a sukkah that is fit for seven. And the Rabbis: this is what the Merciful One says — make a sukkah on the festival.
ושוין שאם נפלה שחוזר ובונה אותה בחולו של מועד פשיטא מהו דתימא האי אחריתי היא ואינה לשבעה קמ"ל
"And they agree that if it fell, he goes back and builds it on the intermediate days of the festival": that is obvious! It might have entered your mind to say: this is another one, and it is not for seven. So he teaches us otherwise.
תניא ר' אליעזר אומר כשם שאין אדם יוצא ידי חובתו ביום טוב הראשון של חג בלולבו של חבירו דכתיב (ויקרא כג, מ) ולקחתם לכם ביום הראשון פרי עץ הדר כפות תמרים משלכם כך אין אדם יוצא ידי חובתו בסוכתו של חבירו דכתיב חג הסוכות תעשה לך שבעת ימים משלך
It was taught: Rabbi Eliezer says: just as a man does not fulfil his obligation on the first festival day of the festival with his fellow's lulav (the palm branch taken and waved on the festival of Sukkot), for it is written "and you shall take for yourselves on the first day the fruit of goodly trees, branches of palm-trees" (Leviticus 23:40) — of your own; so a man does not fulfil his obligation with his fellow's sukkah, for it is written "the festival of Sukkot you shall make for yourself seven days" — of your own.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.