תַּנְיָא נָמֵי הָכִי: שֶׁל בֵּית רַבָּן גַּמְלִיאֵל לֹא הָיוּ אוֹמְרִים ״מַרְפֵּא״ בְּבֵית הַמִּדְרָשׁ, מִפְּנֵי בִּיטּוּל בֵּית הַמִּדְרָשׁ.
"due to suspension [of study] in the study hall"- that at the time that one blesses, all others need to be quiet [and not recite] from their texts so that they can all concentrate and hear him and answer "amen".
(וְאָמַר) רַב פַּפִּי מִשְּׁמֵיהּ דְּרָבָא: מִבֵּי כְנִישְׁתָּא לְבֵי רַבָּנַן — שְׁרֵי, מִבֵּי רַבָּנַן לְבֵי כְנִישְׁתָּא — אֲסִיר. וְרַב פָּפָּא מִשְּׁמֵיהּ דְּרָבָא מַתְנִי אִיפְּכָא. אָמַר רַב אַחָא: כְּווֹתֵיהּ דְּרַב פַּפֵּי מִסְתַּבְּרָא, דְּאָמַר רַבִּי יְהוֹשֻׁעַ בֶּן לֵוִי: בֵּית הַכְּנֶסֶת — מוּתָּר לַעֲשׂוֹתוֹ בֵּית הַמִּדְרָשׁ. שְׁמַע מִינַּהּ.
§ And Rav Pappi said in the name of Rava: To convert a building from a synagogue into a study hall is permitted, but from a study hall into a synagogue is prohibited, as he holds that a study hall has a higher degree of sanctity than a synagogue. And Rav Pappa in the name of Rava teaches the opposite, as he holds that a synagogue has a higher degree of sanctity than a study hall. Rav Aḥa said: It stands to reason to rule in accordance with the opinion of Rav Pappi, as Rabbi Yehoshua ben Levi said: It is permitted for a synagogue to be made into a study hall. The Gemara concludes: Indeed, learn from it that the opinion of Rav Pappi is correct.
(יד) מֻתָּר לַעֲשׂוֹת בֵּית הַכְּנֶסֶת בֵּית הַמִּדְרָשׁ. אֲבָל בֵּית הַמִּדְרָשׁ אָסוּר לַעֲשׂוֹתוֹ בֵּית הַכְּנֶסֶת. שֶׁקְּדֻשַּׁת בֵּית הַמִּדְרָשׁ יְתֵרָה עַל קְדֻשַּׁת בֵּית הַכְּנֶסֶת וּמַעֲלִין בַּקֹּדֶשׁ וְלֹא מוֹרִידִין. וְכֵן בְּנֵי הָעִיר שֶׁמָּכְרוּ בֵּית הַכְּנֶסֶת יֵשׁ לָהֶן לִקַּח בְּדָמָיו תֵּבָה. מָכְרוּ תֵּבָה יֵשׁ לָהֶן לִקַּח בְּדָמֶיהָ מִטְפָּחוֹת אוֹ תִּיק לְסֵפֶר תּוֹרָה. מָכְרוּ מִטְפָּחוֹת אוֹ תִּיק לוֹקְחִים בְּדָמָיו חֻמָּשִׁים. מָכְרוּ חֻמָּשִׁין לוֹקְחִין בְּדָמָיו סֵפֶר תּוֹרָה. אֲבָל אִם מָכְרוּ סֵפֶר תּוֹרָה אֵין לוֹקְחִין בְּדָמָיו אֶלָּא סֵפֶר תּוֹרָה אַחֵר שֶׁאֵין שָׁם קְדֻשָּׁה לְמַעְלָה מִקְּדֻשַּׁת סֵפֶר תּוֹרָה. וְכֵן בְּמוֹתָרֶיהָ:
(14) It is permitted to transform a synagogue into a house of study. However, it is forbidden to transform a house of study into a synagogue because the sanctity of a house of study exceeds that of a synagogue and one must proceed to a higher rung of holiness, but not descend to a lower rung.
Similarly, the inhabitants of a city who sold a synagogue may purchase an ark with the proceeds. If they sold an ark, they may purchase a mantle or a case for a Torah scroll with the proceeds. If they sold a mantle or a case, they may buy chumashim with the proceeds. If they sold chumashim, they may buy a Torah scroll with the proceeds. If they sold a Torah scroll, the proceeds may only be used to purchase another Torah scroll, for there is no level of holiness above that of a Torah scroll.
The same [laws apply] to [any money] which remains.
וכן בני העיר שמכרו בית הכנסת וכו'. שם (ר''פ דף כ''ה כ''ו) בני העיר שמכרו רחובה של עיר לוקחים בדמיו בית הכנסת בה''כ לוקחים תיבה תיבה לוקחים מטפחות מטפחות לוקחים ספרים ספרים לוקחים תורה אבל אם מכרו ספר תורה לא יקחו ספרים ספרים לא יקחו מטפחות מטפחות לא יקחו תיבה תיבה לא יקחו בית הכנסת בית הכנסת לא יקחו את הרחוב וכן במותריהן. ובגמרא אמרו דהא דתנן דרחובה של עיר יש בה קדושה מפני שכשמתענין על הגשמים מוציאים התיבה לרחובה של עיר להתפלל יחידאה היא אבל חכמים אומרים כיון דעראי הוא אין בה קדושה וכמבואר בסוף פרק זה וסובר דרישא דמתניתין דוקא דכל מידי דאפשר לעלוייה מעלינן ואין לוקחין בדמיו דבר השוה לו אבל אם עברו ומכרו תורה כיון דא''א לעלוייה יקחו בדמיו ספר תורה אחר אבל לא יורידוהו לקנות בו ספרים ואיידי דנקט אם מכרו תורה לא יקחו ספרים בגרוע נקט הכי בכולהו ואין הכי נמי דבשוין נמי אסור וכדמשמע רישא דמתניתין:
"And so too the citizens of a city who sold a synagogue" etc. There (the Rif states on page 25-26), citizens of a city who sold an open space of the city may purchase a synagogue with its proceeds. With a synagogue ['s proceeds, they may purchase] an ark; with an ark, mantles [for a sefer Torah]; with mantles, books; with books, a Torah. But it they sold a Torah, they may not purchase books; with books, they may not purchase mantles; with mantles, they may not purchase an ark; with a ark, they may not purchase a synagogue; with a synagogue, they may not purchase an open space; and so too with any money that remains. And in the Gemara they said that because they taught [in a Mishna in Taanit] that an open space in a city has holiness within it because when we afflict ourselves [read: fast] concerning the rain, we bring out the ark to an open space of the city to pray- and this is unique. But the sages say that since this is incidental, there is no holiness within it, as is explained at the end of this chapter. And our teacher [i.e. the Rambam] holds that the start of the mishna specifies that anything whose value it's possible to estimate, we estimate, and we don't acquire with its proceeds anything that is equal to it in value, but if they transgressed and sold a Torah because it's impossible to estimate [its value], they will acquire another Torah, but they won't descend [in holiness] and acquire books with it, and it's acknowledged that it's taught that if they sold a Torah they will not acquire books by deduction. It's taught thus in all of them, and it isn't also like this to embarrass also, it's forbidden as it teachers at the start of the Mishna.