“And on the fifteenth day of the seventh month you shall have a sacred assembly, no task of work shall you do, and you shall celebrate a festival to YHWH seven days (Numbers 29:12). And on the fifteenth day—from the side of יָהּ (Yah) [numerically equivalent to fifteen]. And you shall celebrate a festival—ו (vav), the middle pillar [Ze’eir Anpin]. Seven days—בַּת שֶׁבַע (Bathsheva) [lit., the Daughter of Seven], Malkhut [the final ה (he) of יהוה (YHWH)]. The Patriarchs [Ḥesed, Gevurah, and Tif’eret] and [Moses] the Faithful Shepherd [Netsaḥ], and Aaron [Hod], and David [Malkhut], and שְׁלֹמֹה (Shelomoh), Solomon [alluding to שָׁלוֹם (Shalom), Peace, an epithet of Yesod] are seven, corresponding to seven sefirot. I want to construct for you a סֻכָּה (Sukkah), Hut—supernal Mother [Binah], who will provide a shelter over them as Mother over children.
And on account of the seven sefirot, it is said: I made the Israelites dwell in huts when I brought them out of the land of Egypt (Leviticus 23:43), namely, with seven clouds of glory [cf. BT Sukkah 11b]. סוּכָּה (Sukkah), Hut, [spelled] with a letter ו (vav), in the mystery of the two children [whom Binah provides a shelter for, namely], יְהוָה (YHWH) and אֲדֹנָי (Adonai), for the numerical value of סוּכָּה (Sukkah), Hut, amounts to יְאֲהדֹוָנָהי (YAHDWNHY) [mystery of]: The cherubim shall spread their wings above, סֹכְכִים (sokh’khim), shielding, the cover with their wings, and their faces toward each other (Exodus 25:20) [on cherubim as children, see BT Ḥagigah 13b; Sukkah 5b].
And the cherubs are ten handbreadths from bottom to top [ten sefirot of reflected light], from their feet to their heads, and [ten sefirot of direct light] from their heads to their feet, and they rest on a handbreadth, which is י (yod). Ten from top to bottom and ten from bottom to top, and this is יוֹד (yod) [numerically equivalent to twenty]. And this is why the Rabbis ruled that the size of a sukkah, hut, should not be less than ten and not more than twenty. A Hut that is built in the shape of a kiln is from the side of Mother [i.e., Judgment] of whom is said: And Mount Sinai was all in smoke because YHWH had come down on it in fire, and its smoke went up like smoke from a kiln [and the whole mountain trembled greatly] (Exodus 19:18), and it is all one.
And there shall be a hut for a shadow in the daytime [from the heat, and for a place of refuge, and for a shelter from storm and from rain] (Isaiah 4:6). This is because a roof is required, and this casts a shadow, of which is said: בְּצֵל (be-tsel), In the shadow, of Shaddai, he lies at night (Psalms 91:1). And the meaning is not of the shadow cast by an ordinary hut that shields the body from the sun, but to the shadow that casts a shield over the נִשְׁמְתָא (nishmeta), soul: In בְּצִלּוֹ (be-tsillo), His shadow, I delighted to sit (Song of Songs 2:3), and of whom we said: Under בְּצִלּוֹ (be-tsillo), His shadow, we shall live among the nations (Lamentations 4:20). The word צֵל (tsel) with a final letter ם (mem) added to it forms צֶלֶם (tselem), image [where צֵל (tsel) shadow, alludes to the thatching], and it is said: With צֶלֶם (tselem), an image, a man goes about (Psalms 39:7). Closed ם (mem) has four sides to it [i.e., alluding to the four walls of the hut].
And with regard to the teaching: Two according to the regulations, and a third of even a handbreadth; and of him who says three according to the regulations, and a fourth of even a handbreadth: that is because [of the three measurements:] two, three, four, which together make nine. And the handbreadth [that they mentioned with the two or with the three] is the tenth, Malkhut, that makes up every shortage. And this is why the size of a hut is not less than ten, referring to Malkhut, which is the tenth of every sefirot, and not more than twenty, which is כ (kaf), upper כֶּתֶר (Keter), Crown, which is further than the eye can see. This is that upper glory, about which Moses said: Show me, pray, Your glory (Exodus 33:18), to which the blessed Holy One, responded: You shall not be able to see My face (ibid., 20), and there is no כָּבוֹד (kavod), glory, without כ (kaf).
And for this reason the Masters of Mishnah viewed as corresponding to them: a hut made like an alleyway, which is from the side of the letter ב (bet), and in the shape of a right angle, which is from the side of the letter ג (gimel), and like a hut which is from the side of the letter ד (dalet). And these seven letters [which are doubled with the addition of a dagesh allude to the seven sefirot and the seven types of invalid hut:] ב (bet), ג (gimel), ד (dalet), כ (kaf), פ (peh), ר (resh), and ת (tav): כ (Kaf): כִּבְשָׁן (kivshan), kiln. ב (Bet): בּוּרְגָנִין (burganin), wayside station, and to the remaining [invalid] huts, all of which are referred to by the Masters of Mishnah and there is no need to prolong the discussion on them [see BT Sukkah 8a–b].
And corresponding to them are the seven planets, and they are male and female [for when these seven letters are weak they are of the male and when they are strong they are of the female]. And they are therefore called “the seven doubles” (Sefer Yetsirah §37) and are like the seven candles of the candelabrum and it is said of this: Seven times daily I praised You (Psalms 119:164). And so: and seven pipes to the seven lamps, which are upon its top (Zechariah 4:2), and likewise, the seven sefirot are double. And so, too, are the seven days of creation below and the seven above: and there is nothing new under the sun (Ecclesiastes 1:9).
The palm branch is the Righteous One [Yesod] for the palm branch is like the spinal cord that contains eighteen vertebrae, corresponding to the eighteen shakings with the palm branch. And they correspond to the eighteen blessings of the Amidah, and they correspond to the eighteen mentions [of YHWH] in Grant to YHWH, O sons of God (Psalms 29:1), and the eighteen holy remembrances in the recital of the Shema. And the palm branch is shaken in six directions which makes six, and it is shaken three times in each direction for a total of eighteen.
The palm branch [is taken] in the right [hand], and is comprised of six, namely three myrtle branches: Gedullah, Gevurah, and Tif’eret, and they are like the three colors found in the eye [i.e., white, red, and green]. And the two willow twigs are Netsaḥ and Hod, and they are similar to the two lips. The palm branch Yesod and it is like the spinal cord that supports all the bones and of which David said: All my bones say, ‘YHWH, who is like You?’ (Psalms 35:10). And the citron is Malkhut and is like the heart, in which are thoughts.
And the shakings of the Hallel are common to the shakings of the taking up of the palm branch, and there are eighteen: we beseech You, YHWH, pray, rescue (Psalms 118:25)—eighteen each at the first and last Acclaim [YHWH] (ibid., 1, 29), and eighteen at the taking up of the palm branch, making a total of seventy-two. And this is why לוּלָב (lulav), palm branch, is numerically equivalent to sixty-eight, together with the four species and this is חֶסֶד (Ḥesed) [numerically equivalent to seventy-two], which is the right side. And this is why it was decreed that the palm branch be taken in the right hand, which is the side of Ḥesed, and the citron to the side of Gevurah, to the left—the heart. And this is why it was decreed that the citron, which is like the heart, be held in the left hand, as it has been taught: palm branch in the right hand and citron in the left, corresponding to Remember and Keep. And who is the one taking both? The middle pillar. The palm branch is His right, the citron is His left” (Zohar 3:255b, Ra’aya Meheimna Pineḥas).
“Come and see: When man sits in this Hut which is the shadow of Faith, the Shekhinah spreads Her wings over him from above and Abraham and five other righteous ones make their dwelling with him. This is the meaning of, In huts you shall dwell seven days (Leviticus 23:42). It is written, seven days, rather than, in seven days. Similarly it is written, Six days did YHWH make: the heavens and the earth (Exodus 31:17). One should rejoice every day with a joyful countenance in those אוּשְׁפִּיזִין (ushpizin), guests, that dwell with him” (Zohar 3:103b, Ra’aya Meheimna Emor).