Daf 106b (דַּף ק״ו ע״ב)
Its extremities are these six ends, which are the Heh (קֶּוֵצּוֹתָיו אִלֵּין שִׁית קְצָווֹת דְּאִינוּן ה״א), six joints that are included in the two thighs (שִׁית פִּרְקִין דִּכְלִילָן בִּתְרֵין שׁוֹקִין), which are the fifth day and the sixth day (דְּאִינוּן יוֹם חֲמִישִׁי וְיוֹם שִׁשִּׁי). Of them it is said: “His thighs are pillars of marble” (דְעַלֵייהוּ אִתְּמַר שׁוֹקָיו עַמּוּדֵי שֵׁשׁ) (Song of Songs 8:15). “Drops of the night”-this is the lower Shekhinta, included from Yod Heh Vav Heh (רְסִיסֵי לָיְלָה דָּא שְׁכִינְתָּא תַּתָּאָה כְּלִילָא מִיו״ד ה״א וא״ו ה״א). And why is she called “night”? Because she is the night of Shabbat, the night of guarding (וְאַמַּאי אִתְקְרִיאַת לַיְלָה, דְּאִיהִי לֵיל שַׁבָּת לֵיל שִׁמּוּרִים). For she is truly “for Hashem” in His bringing them out from the land of Egypt (דְּאִיהִי וַדַּאי לַיהו״ה, בְּהוֹצִיאוֹ אוֹתָם מֵאֶרֶץ מִצְרָיִם).
And further: “I sleep” in Mishnah (וְעוֹד אֲנִי יְשֵׁנָה בְּמִשְׁנָה), and “my heart is awake” in Orayta (וְלִבִּי עִר בְּאוֹרַיְיתָא), of which it is said: “The fig tree puts forth her green figs” (דְאִתְּמַר בָּהּ הַתְּאֵנָה חָנְטָה פַגֶּיהָ) (Song of Songs 2:13). These are the sages, in the thirty-two paths of the wonders of Chokhmah (דְּאִינוּן תַּלְמִידֵי חֲכָמִים בְּל״ב נְתִיבוֹת פְּלִיאוֹת חָכְמָה), in the thirty-two Elohim of the work of Bereshit (בְּל״ב אלהי״ם דְּעוֹבָדָא דִבְּרֵאשִׁית), in the thirty-two which are Bet from Bereshit and Lamed from “before the eyes of all Yisrael” (בְּל״ב דְּאִיהוּ ב׳ מִן בְּרֵאשִׁית ל׳ מִן לְעִינֵי כָּל יִשְׂרָאֵל). “And the vines with blossom give fragrance”-these are the masters of mitzvot (וְהַגְּפָנִים סְמָדַר נָתְנוּ רֵיחַ אִלֵּין בַּעֲלֵי מִצְוֹת) (Song of Songs 2:13). “Arise, My companion, My beautiful one, and go forth”-arise in the Written Torah (קוּמִי לָךְ רַעְיָתִי יָפָתִי וּלְכִי לָךְ קוּמִי לָךְ בְּאוֹרַיְיתָא דְבִכְתָב). “My beautiful one and go forth” in Halakhah, the Oral Torah (יָפָתִי וּלְכִי לָךְ בַּהֲלָכָה אוֹרַיְיתָא דִבְעַל פֶּה).
And further: “I sleep” in the 365 prohibitions (וְעוֹד אֲנִי יְשֵׁנָה בִתְלַת מֵאָה וְשִׁתִּין וְחָמֵשׁ פִּקּוּדִין דְּלָא תַעֲשֶׂה), as the calculation of the letters of “sleeping” (כְּחוּשְׁבַּן אַתְוָון יְשֵׁנָ״ה). And “my heart is awake” in the 248 positive mitzvot (וְלִבִּי עִר בְּרַמַ״ח פִּקּוּדִין דַּעֲשֵׂה), as the calculation of 'and my heart' (ve-libbi) and Resh from "Awake" (Ir) (כְּחֻשְׁבַּן וְלִבִּ״י וְר׳ מֵעִר). A hint that they were given from the right and from the left (רֶמֶז דְּאִתְיְיהִיבוּ מִימִינָא וּמִשְּׂמָאלָא). What is the Ayin of “ir”? It is an addition, this is the middle pillar (מַאי ע׳ מִן עִר דְּאִיהוּ בְתוֹסֶפֶת, דָּא עַמּוּדָא דְאֶמְצָעִיתָא). Of it, it is said: “The eye of Ya'akov” (דְּאִתְּמַר בֵּיהּ עִין יַעֲקֹב) (Deuteronomy 33:28). This is the middle pillar that includes the positive and the prohibitive mitzvot (דְּאִיהוּ עַמּוּדָא דְאֶמְצָעִיתָא דִכְלִיל פִּקּוּדִין דַּעֲשֵׂה וְלֹא תַעֲשֶׂה). They were given from the right and from the left, included in it (דְאִתְיְהִיבוּ מִימִינָא וּמִשְּׂמָאלָא בֵיהּ כְּלִילָן).
And further: “The voice of my beloved knocks”-this is the middle pillar (וְעוֹד קוֹל דּוֹדִי דוֹפֵק דָּא עַמּוּדָא דְאֶמְצָעִיתָא). This is Torah, inclusive of 611 (דְּאִיהוּ תוֹרָ״ה כְּלִיל תרי״א). It was given from the two arms, Abba and Imma, which are Y-H (דְאִתְיַהִיב מִתְּרֵין דְּרוֹעִין דְּתַמָּן אַבָּא וְאִימָּא דְאִינוּן י״ה). And in them Torah is completed, which is Vav, inclusive of 613 (וּבְהוֹן אִשְׁתַּלִּים תּוֹרָ״ה דְאִיהוּ ו׳ כְּלִיל תַּרְיַ״ג). The lower Heh is the Oral Torah, inclusive of all the letters (ה׳ תַּתָּאָה אוֹרַיְיתָא דִבְעַל פֶּה כְּלִילָא מִכֻּלְּהוּ אַתְוָון). And in her Yod Heh Vav Heh is completed (וּבָהּ אִשְׁתַּלִּים יהו״ה).
And further: “I sleep”-a second time, surely, for Chokhmah, which is Yod (וְעוֹד אֲנִי יְשֵׁנָה, שְׁנִיָּה וַדַּאי לַחָכְמָה דְאִיהִי יו״ד), when my beloved, which is Vav, distanced from me (כַּד אִתְרַחַק מִינִי רְחִימָאי דְאִיהוּ ו׳). And the mystery of the matter: “Hashem in Chokhmah founded the earth, He established the heavens in Tevunah” (וְרָזָא דְמִלָּא יהו״ה בְּחָכְמָה יָסַד אָרֶץ כּוֹנֵן שָׁמַיִם בִּתְבוּנָה) (Proverbs 3:19). In Chokhmah, which is Abba, Yod, He founded (בְּחָכְמָה דְאִיהוּ אַבָּא יו״ד, יָסַד). In the daughter, which is earth, the small Heh, truly the earth (בְּרַתָּא דְאִיהִי אָרֶץ, ה׳ זְעִירָא הָאָרֶץ וַדַּאי). “He established the heavens”-this is Vav (כוֹנֵן שָׁמַיִם דָּא ו׳). “In Tevunah”-this is the supernal Imma, Binah (בִּתְבוּנָה דָּא אִימָּא עִלָּאָה). When she is with her husband, she is called Binah above (דְּבִינָה אִתְקְרִיאַת לְעִילָא כַּד אִיהִי עִם בַּעִילָהּ). When she is with Vav, the son, she is called Tevunah below (תְּבוּנָה אִתְקְרִיאַת לְתַתָּא כַּד אִיהִי עִם ו׳, דְּאִיהוּ בֶּן). Vav and Tav, which is Tiferet, she remains as Heh with him (ו׳ וְת׳ דְּאִיהוּ תִּפְאֶרֶת, אִשְׁתְּאָרַת אִיהִי ה׳ עִמֵּיהּ). And at that time, when Yod is with Imma, and he distanced from her, it is said of her: “I sleep” (וּבְהַהוּא זִמְנָא דְאָת יו״ד אִיהוּ עִם אִימָּא, וְאִיהוּ מְרַחַק מִינָהּ, אִתְּמַר בָּהּ אֲנִי יְשֵׁנָה). [And she is a second to him] (ואיהי שניה לה).
And further: “She sleeps” in exile, for there is no beating in her (וְעוֹד יְשֵׁנָה בְגָלוּתָא, דְלָא דָפִיק בָּהּ). And at the time when her husband comes, “The voice of my beloved knocks,” which is Vav, her beloved (וּבְהַהוּא זִמְנָא דְיֵיתֵי בַעִילָהּ, קוֹל דּוֹדִי דוֹפֵק דְּאִיהוּ ו׳ רְחִימוּ דִילָהּ). The northern wind goes forth to her, that blows in the harp of David (רוּחַ צְפוֹנִית נָפִיק לְגַבָּהּ דְּנַשִּׁיב בְּכִנּוֹר דָּוִד). And the southern wind, from the right side (וְרוּחַ דְּרוֹמִית מִסִּטְרָא דִימִינָא). “And the Ruach of Elohim hovered over the face of the waters”-these are the waters from the side of Chesed, where Chokhmah is found (וְרוּחַ אלהי״ם מְרַחֶפֶת עַל פְּנֵי הַמָּיִם, דְּאִינוּן מָיִם מִסִּטְרָא דְחֶסֶד דְּתַמָּן חָכְמָה) (Bereshit 1:2).
