The Shulchan Aruch · Orach Chayim
אורח חיים קמ״טOrach Chayim 149
Siman 149 of 697 in Orach Chayim — 1 se'if
הלכות קריאת התורהLaws of Reading the Torah· siman 149
Se’if 1א׳
אֵין הַצִּבּוּר רַשָּׁאִים לָצֵאת מִבֵּית הַכְּנֶסֶת, עַד שֶׁיַּצְנִיעוּ סֵפֶר תּוֹרָה. הַגָּה: מִיהוּ אִם אֵינָם יוֹצְאִים, רַק יָחִיד, לֵית לָן בָּהּ (בֵּית יוֹסֵף בְּשֵׁם הר"י בְּחִדּוּשֵׁי מְגִלָּה). וְאִם מַצְנִיעִים הַסֵפֶר תּוֹרָה בְּבַיִת אַחֵר, אִם אֵין לְבֵית הַכְּנֶסֶת אֶלָּא פֶּתַח א', צְרִיכִין לְהִתְעַכֵּב עַד שֶׁיֵּצֵא הַסֵפֶר תּוֹרָה וְיֵלְכוּ אַחֲרָיו לַמָּקוֹם שֶׁמַּצְנִיעִים אוֹתוֹ שָׁם; וְאִם יֵשׁ לְבֵית הַכְּנֶסֶת שְׁנֵי פְּתָחִים, יְכוֹלִים לָצֵאת בְּפֶתַח אֶחָד קֹדֶם שֶׁיֵּצֵא הַסֵפֶר תּוֹרָה בַּפֶּתַח הָאַחֵר, וּבִלְבַד שֶׁיֵּלְכוּ אַחַר הַסֵפֶר תּוֹרָה וִילַוּוּהוּ לְמָקוֹם שֶׁמַּצְנִיעִין אוֹתוֹ שָׁם. הַגָּה: וּבִמְקוֹמוֹת שֶׁמַּצְנִיעִין אוֹתוֹ בַּהֵיכָל, שֶׁהוּא הָאָרוֹן בְּבֵית הַכְּנֶסֶת, מִצְוָה לְכָל מִי שֶׁעוֹבֶרֶת לְפָנָיו לְלַוּוֹתָהּ עַד לִפְנֵי הָאָרוֹן שֶׁמַּכְנִיסִין אוֹתָהּ שָׁם (דִּבְרֵי עַצְמוֹ וּמַהֲרִי"ל). וְכֵן הַגּוֹלֵל יֵלֵךְ אַחַר הַסֵּפֶר תּוֹרָה עַד לִפְנֵי הָאָרוֹן, וְעוֹמֵד שָׁם עַד שֶׁיַּחֲזִירוּ הַסֵּפֶר תּוֹרָה לִמְקוֹמָהּ (הַגָּה' מַיְמוֹנִי פ' י"ב מֵה"ת) וְכֵן נוֹהֲגִין בְּמַגְבִּיהַּ הַסֵּפֶר תּוֹרָה, כִּי הוּא עִקַּר הַגּוֹלֵל וּכְמוֹ שֶׁנִּתְבָּאֵר; (סי' קמ"ז ס"ד) וְיֵשׁ שֶׁכָּתְבוּ שֶׁמְּבִיאִים הַתִּינוֹקוֹת לְנַשֵּׁק הַתּוֹרָה, כְּדֵי לְחַבְּבָה וּלְזָרְזָם בְּמִצְווֹת, וְכֵן נוֹהֲגִין. (אוֹר זָרוּעַ).
The Congregation May Not Leave The Synagogue Until they Conceal the Torah Scroll. Containing 1 S'if: The congregation does not have permission to leave the synagogue until after they conceal the Torah scroll. (However, if they are all not leaving, but it's just an individual that is, then that is not an issue) (Beit Yosef in the name of the R'i in Chidushei Megillah). And if they conceal the Torah in another house: if the synagogue has only one entrance, then they must delay until the Torah scroll has left and then they should go after it to the place in which they conceal it. If the synagogue has 2 entrances, they may leave using one entrance before the Torah scroll leaves using the other entrance, as long as they will go after the sefer Torah and escort it to the place where they conceal it. Gloss: And in places where they conceal it in the "heikhal", which is the cabinet [i.e. Ark] within the synagogue, it is a obligation for anyone in front of whom it [i.e. the Torah] passes to escort it up until [it is] in front of the Ark into which they are inserting it (His own opinion, and Mahari"l). And so too, the one who rolls the sefer Torah should go after the Torah until in front of the Ark and stand there until they return the Torah to its place. (Hagahot Maimoni - chapter 12 of Hilkhot Torah). And similarly, we practice that the one who lifts the sefer Torah [follows as well] since this is [considered] the main "roller" as we explained in Siman 147: S'if 4. And there are those who have written that the children come to kiss the Torah in order to educate them and train them to be zealous in [doing] mitzvot, and that is how we practice. (Ohr Zaruah)
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0