וְאֶת־בַּת־פַּרְעֹ֗ה הֶעֱלָ֤ה שְׁלֹמֹה֙ מֵעִ֣יר דָּוִ֔יד לַבַּ֖יִת אֲשֶׁ֣ר בָּֽנָה־לָ֑הּ כִּ֣י אָמַ֗ר לֹא־תֵשֵׁ֨ב אִשָּׁ֥ה לִי֙ בְּבֵית֙ דָּוִ֣יד מֶֽלֶךְ־יִשְׂרָאֵ֔ל כִּי־קֹ֣דֶשׁ הֵ֔מָּה אֲשֶׁר־בָּֽאָ֥ה אֲלֵיהֶ֖ם אֲר֥וֹן יְהוָֽה׃ (פ)
所羅門把法老的女兒從大衛城接上來,住進他為她建造的宮殿;因為他說:«我的妻子不可住在以色列王大衛的宮殿裡,因為永恆者的約櫃所到過的地方都是聖的。»
Mishneh Torah, Prayer and the Priestly Blessing
Villagers who desire to sell their synagogue, in order to erect with the proceeds another synagogue or purchase a Tebah or a scroll of the law, should stipulate with the purchaser that he is not to turn it into a bathhouse, tannery, ritual bath or laundry. If, at the time of the sale, the seven leaders of the community (forming the Executive), at a meeting of the residents, passed a resolution that the purchaser should be permitted to do any of the above things, it is permitted.