But the Rambam in chapter six, law 12, wrote: Whenever one enters to sit in the sukkah all seven days—he blesses before he sits: "Who has sanctified us with His commandments and commanded us to sit in the sukkah" … It follows that he sanctifies while standing, and blesses "to sit in the sukkah," and sits, and afterward blesses over the time. And such was the custom of my teachers and the rabbis of Spain, to sanctify while standing on the first night of Sukkot, as we have explained. Thus far his words, for he holds that "in sukkot you shall dwell [tishvu]"—is literal sitting, and since one must bless prior to their performance—it follows that he sanctifies while standing, and afterward sits, after the blessing "to sit in the sukkah." And the Rosh raised a difficulty against him, for certainly the expression "tishvu" is not literal sitting, for would one say that when he eats while standing—he would not be obligated to bless? Rather, "tishvu" is an expression of staying, as in "And you stayed [vateshvu] in Kadesh many days," and therefore even on the first night they sanctify while sitting, and bless "to sit in the sukkah" while sitting, and so too on all the days. And this is also "prior to their performance" before the eating. And such is the custom of the world like the Rosh. However, even the Rambam: it is obvious that he did not interpret it as literal "sitting," but rather to say: that through literal sitting it is recognizable that he is fulfilling the mitzvah. For as long as he is standing—he is ready to leave, which is not the case when he sits—the fixed nature is recognizable. And therefore one must bless before this (Taz, subsection 2). And our custom is like the Rosh. (See Sha'arei Teshuva in the name of Devar Shmuel, that on the other days when there is kiddush—he should not bless "to sit in the sukkah" at the time of kiddush, but rather at the time of "Hamotzi." And his words are astonishing, and one should not do so. And thus our fathers and our teachers practiced, to bless after kiddush, and one should not change.)
אבל הרמב"ם בפרק ששי דין יב כתב: כל זמן שיכנס לישב בסוכה כל שבעה – מברך קודם שישב: "אשר קדשנו במצותיו וצונו לישב בסוכה" … נמצא מקדש מעומד, ומברך "לישב בסוכה", ויושב, ואחר כך מברך על הזמן. וכזה היה מנהג רבותי ורבני ספרד, לקדש מעומד בליל ראשון של סוכות, כמו שבארנו. עד כאן לשונו, דסבירא ליה ד"בסכת תשבו" – הוי ישיבה ממש, וכיון דצריך לברך עובר לעשייתן – ממילא דמקדש מעומד, ואחר כך יושב, אחר ברכת "לישב בסוכה". והרא"ש הקשה עליו דוודאי אין לשון "תשבו" – ישיבה ממש, דאטו כשאוכל מעומד – לא יתחייב לברך. אלא "תשבו" הוא לשון עכבה, כמו "ותשבו בקדש ימים רבים", ולכן גם בליל ראשון מקדשין מיושב, ומברכין "לישב בסוכה" מיושב, וכן בכל הימים. וזהו גם כן עובר לעשייתן קודם האכילה. וכן מנהג העולם כהרא"ש. אמנם גם הרמב"ם: פשיטא שלא היה מפרש "ישיבה" ממש, אלא כלומר: דעל ידי ישיבה ממש ניכר שמקיים המצוה. דכל זמן שעומד הוא – כמוכן לצאת, מה שאין כן כשיושב – ניכר הקביעות. ולכן צריך לברך קודם זה (ט"ז סעיף קטן ב). ומנהגינו כהרא"ש. (עיין שערי תשובה בשם דבר שמואל, דבשארי ימים כשיש קידוש – לא יברך "לישב בסוכה" בשעת קידוש, אלא בשעת "המוציא". ודבריו תמוהים, ואין לעשות כן. וכך נהגו אבותינו ורבותינו לברך אחר קידוש, ואין לשנות.)