Shulchan Arukh, Orach Chayim Siman 637
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
מי שלא עשה סוכה בין בשוגג בין במזיד עושה סוכה בחולו של מועד אפי' בסוף יום שביעי וכן יכול לצאת מסוכה זו ולישב באחרת:
A person who did not build a sukkah (before the festival), whether unintentionally or intentionally should build a sukkah during Chol HaMoed (and dwell in it), even towards the close of the seventh day. It is permitted to leave this sukkah and dwell in another sukkah.
יוצאין בסוכה שאולה וכן יוצאין בשל שותפות:
One fulfills his obligation with a borrowed sukkah and one may fulfill his obligation with a sukkah that he owns in partnership with a friend
סוכה גזולה כשרה כיצד אם תקף על חבירו והוציאו מסוכתו וגזלה וישב בה יצא שאין הקרקע נגזלת: הגה מיהו לכתחלה לא ישב אדם בסוכת חבירו שלא מדעתו כל שכן אם דעתו לגזלה וכן לא יעשה סוכה לכתחלה בקרקע של חבירו שלא מדעתו וכן בקרקע שהיא של רבים (הגהת אשירי וא"ז) מיהו בדיעבד יצא וכן לא יקצצו ישראל הסכך בעצמם אלא יקנו אותם מעכו"ם דכל גזל אין עושין ממנו סוכה לכתחלה (מהרי"ל) ואם גזל עצים ועשה מהם סוכה אע"פ שלא חיברן ולא שינה בהם כלום יצא תקנת חכמים שאין לבעל העצים אלא דמי עצים בלבד אבל אם גזל סוכה העשויה בראש הספינה או בראש העגלה וישב בה לא יצא: הגה והוא הדין אם ראובן בנה סוכה בקרקע שמעון ושמעון תקף את ראובן וגזל סוכתו הבנויה בקרקע שלו לא יצא בה ואין כאן תקנת השבין הואיל ולא טרח בה ולא הוציא עליה הוצאות (הגהות אשירי פ"ב דסוכה):
A stolen sukkah is valid. How? If one overpowered his friend, left his (own) sukkah and stole it and then dwelt in it, he has fulfilled his obligation, since land can never be stolen. Rema: However, initially, one should not sit in his friend's sukkah without his permission; all the more if he sat in it without his permission with the intent of stealing it. Therefore, we do not initially make a sukkah on someone else's property without their permission, and likewise for public property (Hagahos Ashiri). However, after the fact, he has fulfilled his obligation. Therefore, a Jew does not cut his own s'chach; rather he buys it from a gentile, and one does not initially make a sukkah out of anything that is stolen (Maharil). If one stole pieces of wood and made a sukkah with them (and used them as s’chach for his sukkah, the sukkah may be valid) even though he did not attach them to his sukkah but merely placed them on it and didn't change them at all, he has fulfilled his obligation. The Sages ordained that the person from whom the wood was stolen is owed only its value. However, if someone stole a sukkah that was built on top of a ship or on top of a wagon and dwells in it, he has not fulfilled his obligation. Rema: And this is the law if Reuven built a sukkah on Shimon's land, and Shimon overpowered Reuven and stole the sukkah that was built on his property, Shimon has not fulfilled his obligation with it. The Sages instituted such an ordinance only when one labored (to build a sukkah) for the sake of the mitzvah, and when one invested effort (Hagahos Ashiri