סימן קלג סעיף כו
לְאַחַר תְּפִלַּת נְעִילָה, אֲפִלּוּ חָל בַּשַׁבָּת וּגְמָרָהּ בַּיוֹם, מִכָּל מָקוֹם אוֹמְרִים אָבִינוּ מַלְכֵּנוּ. וְאוֹמְרִים שְׁמַע יִשְֹרָאֵל, פַּעַם אֶחָת. בָּרוּךְ שֵׁם כְּבוֹד מַלְכוּתוֹ לְעוֹלָם וָעֶד, שָׁלֹשׁ פְּעָמִים. ה' הוּא הָאֱלֹהִים, שֶׁבַע פְּעָמִים, לְלַוּוֹת אֶת הַשְּׁכִינָה, שֶמִּתְעַלֶּה לְמַעְלָה מִשִּׁבְעָה רְקִיעִים. וְאוֹמֵר שְּׁלִיחַ הַצִּבוּר קַדִישׁ שָׁלֵם בְּנִגּוּן שֶׁל שִׂמְחָה. וְאַחַר כָּךְ תּוֹקְעִין תְּקִיעָה אַחַת וְהִיא סִימָן לְסִילּוּק שְׁכִינָה לְמַעְלָה, כְּמוֹ שֶׁהָיָה בְּמַתַּן תּוֹרָה. שֶׁכְּשֶעָלְתָה הַשְּׁכִינָה, נֶאֱמַר, בִּמְשֹׁךְ הַיּוֹבֵל וְגוֹ'. וְנֶאֱמַר, עָלָה אֱלֹהִים בִּתְרוּעָה. וְגַם הוּא זֵכֶר לִתְקִיעַת יוֹם הַכִּפּוּרִים בַּיּוֹבֵל. וִיכוֹלִין לִתְקֹעַ אַף עַל פִּי שֶׁעֲדַיִן לֹא יָצְאוּ כּוֹכָבִים, אֶלָּא שֶׁהוּא בֵּין הַשְּׁמָשּׁוֹת, וַאֲפִלּוּ הוּא שַׁבָּת. אֲבָל בְּעוֹד יוֹם אֵין לִתְקֹעַ (תרכג). לְאַחַר הַתְּקִיעָה, אוֹמְרִים כֻּלָּם שָלֹשׁ פְּעָמִים, לְשָּׁנָה הַבָּאָה בִּירוּשָׁלָיִם (סידור).
After the conclusion of Ne'ilah, even if it is Shabbos, and Ne'ilah ended while it is still daytime, nevertheless, we say Avinu Malkeinu. We then say "Shema Yisrael" one time, Baruch sheim kevod malchuso le'olam va'ed, [Blessed is His name, whose glorious kingdom is forever and ever] is said three times; Hashem hu haElokim [Hashem is God] is said seven times, to honor the departure of the Divine Presence as it ascends to the spiritual heights upward of above the seven heavens. The Chazzan then sings the whole kaddish with a joyous melody. After that,23In some places the shofar is sounded before the Kaddish is said. (Ramah 623:6) one Tekiah is sounded on the shofar, as a sign that the Shechinah has risen on high, as was done at the Giving of the Torah. For when the Shechinah ascended, it is said, "When the ram's horn is blown" etc. (Exodus 19:13), and it is also said, "God ascended amidst Teruah sounds." It is also a reminder of the blowing of the shofar on the Yom Kippur of the Jubilee Year. It is permitted to blow the shofar even though the stars have not yet appeared and it is still twilight, even on Shabbos. But when it is yet daytime, the shofar should not be blown. After the Tekiah everyone says three times,24In many places it is said only once. (Mateh Ephraim) Leshanah haba'ah birushalayim [Next year [may we be] in Jerusalem].
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)