Save "משנה תורה, הלכות סוכה,ו:ה-י,יב-יג, טו-טז"
משנה תורה, הלכות סוכה,ו:ה-י,יב-יג, טו-טז
Chapter 6 of הלכות שופר, סוכה ולולב discusses the laws for dwelling in the sukkah. The first halakhot discuss who is/isn't obligated to dwell in the sukkah. We are picking up with the next halakhot.
Helpful hints:
blessing עַל הַזְּמַן is the שהחיינו
עֲצֵי סֻכָּה אֲסוּרִין refers to the prohibition against using something for another purpose
בֵּין הַשְּׁמָשׁוֹת is the name of a time of day
הוֹאִיל וְ means "because"
אֳכָלִין וּמַשְׁקִין שֶׁתּוֹלִין בַּסֻּכָּה are foods and drinks that are hung as decorations in the sukkah.

(ה) כֵּיצַד הִיא מִצְוַת הַיְשִׁיבָה בַּסֻּכָּה? שֶׁיִּהְיֶה אוֹכֵל וְשׁוֹתֶה וְדָר בַּסֻּכָּה כָּל שִׁבְעַת הַיָּמִים בֵּין בַּיּוֹם וּבֵין בַּלַּיְלָה כְּדֶרֶךְ שֶׁהוּא דָּר בְּבֵיתוֹ בִּשְׁאָר יְמוֹת הַשָּׁנָה. וְכָל שִׁבְעַת הַיָּמִים עוֹשֶׂה אָדָם אֶת בֵּיתוֹ עַרְאַי וְאֶת סֻכָּתוֹ קֶבַע שֶׁנֶּאֱמַר (ויקרא כג מב) "בַּסֻּכֹּת תֵּשְׁבוּ שִׁבְעַת יָמִים". כֵּיצַד? כֵּלִים הַנָּאִים וּמַצָּעוֹת הַנָּאוֹת בַּסֻּכָּה. וּכְלֵי שְׁתִיָּה כְּגוֹן אֲשִׁישׁוֹת וְכוֹסוֹת בַּסֻּכָּה. אֲבָל כְּלֵי אֲכִילָה כְּגוֹן קְדֵרוֹת וּקְעָרוֹת חוּץ לַסֻכָּה. הַמְּנוֹרָה בַּסֻּכָּה. וְאִם הָיְתָה סֻכָּה קְטַנָּה מַנִּיחָהּ חוּץ לַסֻּכָּה:

(ו) אוֹכְלִין וְשׁוֹתִין וִישֵׁנִים בַּסֻּכָּה כָּל שִׁבְעָה בֵּין בַּיּוֹם וּבֵין בַּלַּיְלָה. וְאָסוּר לֶאֱכל סְעֻדָּה חוּץ לַסֻכָּה כָּל שִׁבְעָה אֶלָּא אִם אָכַל אֲכִילַת עֲרַאי כְּבֵיצָה אוֹ פָּחוֹת אוֹ יֶתֶר מְעַט. וְאֵין יְשֵׁנִים חוּץ לַסֻכָּה אֲפִלּוּ שְׁנַת עֲרַאי. וּמֻתָּר לִשְׁתּוֹת מַיִם וְלֶאֱכל פֵּרוֹת חוּץ לַסֻּכָּה. וּמִי שֶׁיַּחֲמִיר עַל עַצְמוֹ וְלֹא יִשְׁתֶּה חוּץ לַסֻכָּה אֲפִלּוּ מַיִם הֲרֵי זֶה מְשֻׁבָּח:

(ז) אֲכִילָה בְּלֵילֵי יוֹם טוֹב הָרִאשׁוֹן בַּסֻּכָּה חוֹבָה. אֲפִלּוּ אָכַל כְּזַיִת פַּת יָצָא יְדֵי חוֹבָתוֹ. מִכָּאן וְאֵילָךְ רְשׁוּת. רָצָה לֶאֱכל סְעֻדָּה סוֹעֵד בַּסֻּכָּה. רָצָה אֵינוֹ אוֹכֵל כָּל שִׁבְעָה אֶלָּא פֵּרוֹת אוֹ קְלָיוֹת חוּץ לַסֻּכָּה אוֹכֵל כְּדִין אֲכִילַת מַצָּה בְּפֶסַח:

(5) How is the commandment of dwelling in the sukkah? That one eat, drink and live in in the sukkah all of the seven days — both during the day and during the night — in the same way that he lives at home during the other days of the year. And all seven days of Sukkot, one renders his house temporary, and his sukkah permanent; as it is stated (Leviticus 23:42), "In huts shall you dwell seven days." How is that? [If he has] beautiful vessels and beautiful bedding, [they are brought] into the sukkah. And drinking vessels, such as jugs and cups, [are also brought] into the sukkah. But eating vessels, such as pot and pans are [kept] out of the sukkah. And a candelabra [is brought] into the sukkah. But if the sukkah was small, he places it out of the sukkah.

(6) We eat, drink and sleep in a sukkah all seven [days] — whether during the day or during the night. And it forbidden to eat a meal outside the sukkah all seven [days], unless it is a casual meal — a kabeitsah or less or a bit more (of bread). One may not sleep outside the sukkah, even [for] a brief nap. But it is permissible to drink water and to eat fruits outside the sukkah. However one who is stringent upon himself and does not drink even water outside the sukkah is surely praiseworthy.

(7) Eating on the night of the first holiday in the sukkah is an obligation. Even if one ate a kazayit of bread, he has fulfilled his obligation. From then on, it is optional: [If] he wants to a eat a meal, he must dine in the sukkah; [but if] he wants to just eat fruits or parched grain all seven [days] outside the sukkah, he may eat [like that. It is] like the law of eating matsa on Passover.

(ח) מִי שֶׁהָיָה רֹאשׁוֹ וְרֻבּוֹ בַּסֻּכָּה וְשֻׁלְחָנוֹ בְּתוֹךְ בֵּיתוֹ אוֹ חוּץ לַסֻּכָּה וְאוֹכֵל- הֲרֵי זֶה אָסוּר וּכְאִלּוּ לֹא אָכַל בַּסֻּכָּה עַד שֶׁיִּהְיֶה שֻׁלְחָנוֹ בְּתוֹךְ הַסֻּכָּה. גְּזֵרָה שֶׁמָּא יִמָּשֵׁךְ אַחַר שֻׁלְחָנוֹ. וַאֲפִלּוּ בְּסֻכָּה גְּדוֹלָה:

(ט) כָּל שִׁבְעַת הַיָּמִים קוֹרֵא בְּתוֹךְ הַסֻּכָּה. וּכְשֶׁמֵּבִין וּמְדַקְדֵּק בְּמַה שֶּׁיִּקְרָא יָבִין חוּץ לַסֻכָּה כְּדֵי שֶׁתִּהְיֶה דַּעְתּוֹ מְיֻשֶּׁבֶת עָלָיו. הַמִּתְפַּלֵּל רְצֵה מִתְפַּלֵּל בַּסֻּכָּה אוֹ חוּץ לַסֻּכָּה:

(י) יָרְדוּ גְּשָׁמִים הֲרֵי זֶה נִכְנָס לְתוֹךְ הַבַּיִת. מֵאֵימָתַי מֻתָּר לִפָּנוֹת? מִשֶּׁיָּרְדוּ לְתוֹךְ הַסֻּכָּה טִפּוֹת שֶׁאִם יִפְּלוּ לְתוֹךְ הַתַּבְשִׁיל יִפָּסֵל, אֲפִלּוּ תַּבְשִׁיל שֶׁל פּוֹל. הָיָה אוֹכֵל בַּסֻּכָּה וְיָרְדוּ גְּשָׁמִים וְנִכְנַס לְבֵיתוֹ וּפָסְקוּ הַגְּשָׁמִים אֵין מְחַיְּבִים אוֹתוֹ לַחֲזֹר לַסֻּכָּה (כָּל אוֹתוֹ הַלַּיְלָה) עַד שֶׁיִּגְמֹר סְעֻדָּתוֹ. הָיָה יָשֵׁן וְיָרְדוּ גְּשָׁמִים בַּלַּיְלָה וְנִכְנַס לְתוֹךְ הַבַּיִת וּפָסְקוּ הַגְּשָׁמִים אֵין מַטְרִיחִין אוֹתוֹ לַחֲזֹר לַסֻכָּה כָּל אוֹתוֹ הַלַּיְלָה אֶלָּא יָשֵׁן בְּבֵיתוֹ עַד שֶׁיַּעֲלֶה עַמּוּד הַשַּׁחַר:

(8) It is forbidden for a person to sit and eat with his head and the majority of his body inside a sukkah while his table is in his home or outside the sukkah. It is considered as if he did not eat inside the sukkah. [Rather,] the table must also be inside the sukkah. This was decreed lest one be drawn after one's table. This law applies even in a large sukkah.

(9) Throughout the seven days [of the festival], a person should read in the sukkah. However, when he attempts to comprehend what he reads in depth and appreciate its details, he should do so outside the sukkah, so that his mind will be settled.
When a person prays, he may pray inside the sukkah or outside the sukkah, as he desires.

(10) If rain descends, a person may enter his home. When is one permitted to leave [the sukkah]? When enough raindrops descend into the sukkah so that they would spoil a cooked dish - even a dish of beans - were they to fall into it.
If a person was eating in the sukkah and rain descended, and hence, he entered his home, if the rains stop we do not obligate him to return to his sukkah {that entire night} until he is finished eating.
If he was sleeping and rain descended, and hence, he entered his home, we do not obligate him to return to his sukkah that entire night should the rains cease. Rather, he may remain sleeping in his house that entire night until dawn.

(יב) כָּל זְמַן שֶׁיִּכָּנֵס לֵישֵׁב בַּסֻּכָּה כָּל שִׁבְעָה מְבָרֵךְ קֹדֶם שֶׁיֵּשֵׁב אֲשֶׁר קִדְּשָׁנוּ בְּמִצְוֹתָיו וְצִוָּנוּ לֵישֵׁב בַּסֻּכָּה. וּבְלֵילֵי יוֹם טוֹב הָרִאשׁוֹן מְבָרֵךְ עַל הַסֻּכָּה וְאַחַר כָּךְ עַל הַזְּמַן. וּמְסַדֵּר כָּל הַבְּרָכוֹת עַל הַכּוֹס. נִמְצָא מְקַדֵּשׁ מְעֻמָּד וּמְבָרֵךְ לֵישֵׁב בַּסֻּכָּה וְיוֹשֵׁב וְאַחַר כָּךְ מְבָרֵךְ עַל הַזְּמַן. וְכָזֶה הָיָה מִנְהַג רַבּוֹתַי וְרַבָּנֵי סְפָרַד לְקַדֵּשׁ מְעֵמָּד בְּלַיִל רִאשׁוֹן שֶׁל חַג הַסֻּכּוֹת כְּמוֹ שֶׁבֵּאַרְנוּ:

(יג) בַּזְּמַן הַזֶּה שֶׁאָנוּ עוֹשִׂין שְׁנֵי יָמִים טוֹבִים. יוֹשְׁבִין בַּסֻּכָּה שְׁמוֹנָה יָמִים. וּבַיּוֹם הַשְּׁמִינִי שֶׁהוּא יוֹם טוֹב רִאשׁוֹן שֶׁל שְׁמִינִי עֲצֶרֶת יוֹשְׁבִין בָּהּ וְאֵין מְבָרְכִין לֵישֵׁב בַּסֻּכָּה. וְכֵן טֻמְטוּם וְאַנְדְּרוֹגִינוּס לְעוֹלָם אֵין מְבָרְכִין לֵישֵׁב בַּסֻּכָּה מִפְּנֵי שֶׁהֵן חַיָּבִים מִסָּפֵק וְאֵין מְבָרְכִין מִסָּפֵק:

(12) Whenever a person enters a sukkah with the intention of sitting down throughout the seven [days of Sukkot], he should recite the following blessing before sitting:

[Blessed are You...] who has sanctified us with His commandments and commanded us to dwell in the sukkah.

On the first night of the festival, one should first recite the blessing on the sukkah, and then the blessing for the occasion.
One should recite all the blessings over a cup of wine. Thus, one should recite kiddush while standing, recite the blessing leishev basukkah, sit, and then recite the blessing shehecheyanu.
This was the custom of my teachers and the Rabbis of Spain: to recite kiddush while standing on the first night of the Sukkot festival, as explained.

(13) At present, when we celebrate holidays for two days, we dwell in the sukkah for eight days. On the eighth day, which is the first day of the holiday of Shemini Atzeret, we dwell in the sukkah, but do not recite the blessing leishev basukkah.
Similarly, a tumtum and an androgynous never recite the blessing leishev basukkah, because their obligation [to perform the mitzvah is based] on doubt, and a blessing is never recited when one is doubtful [of one's obligation].

(טו) מִי שֶׁלֹּא עָשָׂה סֻכָּה, בֵּין בְּשׁוֹגֵג בֵּין בְּמֵזִיד, עוֹשֶׂה סֻכָּה בְּחֻלּוֹ שֶׁל מוֹעֵד. אֲפִלּוּ בְּסוֹף יוֹם שְׁבִיעִי, עוֹשֶׂה סֻכָּה, שֶׁמִּצְוָתָהּ כָּל שִׁבְעָה. עֲצֵי סֻכָּה אֲסוּרִין כָּל שְׁמוֹנַת יְמֵי הֶחָג בֵּין עֲצֵי דְּפָנוֹת בֵּין עֲצֵי סְכָךְ אֵין נֵאוֹתִין מֵהֶן לְדָבָר אַחֵר כָּל שְׁמוֹנַת הַיָּמִים מִפְּנֵי שֶׁיּוֹם הַשְּׁבִיעִי כֻּלּוֹ הַסֻּכָּה מֻקְצָה עַד בֵּין הַשְּׁמָשׁוֹת וְהוֹאִיל וְהֻקְצַת לְבֵין הַשְּׁמָשׁוֹת שֶׁל שְׁמִינִי הֻקְצַת לְכָל הַיּוֹם:

(טז) וְכֵן אֳכָלִין וּמַשְׁקִין שֶׁתּוֹלִין בַּסֻּכָּה כְּדֵי לְנָאוֹתָהּ אָסוּר לְהִסְתַּפֵּק מֵהֶן כָּל שְׁמוֹנָה. וְאִם הִתְנָה עֲלֵיהֶן בְּשָׁעָה שֶׁתְּלָאָן וְאָמַר "אֵינִי בּוֹדֵל מֵהֶן כָּל בֵּין הַשְּׁמָשׁוֹת" הֲרֵי זֶה מִסְתַּפֵּק מֵהֶן בְּכָל עֵת שֶׁיִּרְצֶה. שֶׁהֲרֵי לֹא הִקְצָה אוֹתָם וְלֹא חָלָה עֲלֵיהֶן קְדֻשַּׁת הַסֻּכָּה וְלֹא נֶחְשְׁבוּ כְּמוֹתָהּ:

(15) A person who did not construct a sukkah [before the holiday] - whether intentionally or unintentionally - should construct a sukkah on Chol Hamo'ed. One should even construct a sukkah on the final moments of the seventh day, because its mitzvah lasts throughout the seventh day.
The wood with which the sukkah was constructed is forbidden [to be used for other purposes] on all eight days of the festival. This applies to both the wood used for the walls and the wood used for the s'chach. Throughout [these] eight days, no benefit may be derived from it for other purposes.
[They are prohibited on the eighth day] because the sukkah is muktzeh the entire seventh day, including the period beyn hash'mashot. Since it was muktzeh during the period beyn hash'mashot, it is muktzeh on the entire day [that follows].

(16) Similarly, it is forbidden to take from the food and beverages that were hung in the sukkah as decorations for all eight days [of the festival]. However, if at the time one hung [the decorations], he made the condition: "I will not refrain from using them during the entire period of beyn hash'mashot," he is entitled to use them whenever he desires, because he did not set them aside, nor did the sanctity of the sukkah encompass them, nor are they considered part of it.