339. Non-Shuls Are Not Sanctified

Tefillah u’Birkas Kohanim 11:20

Just as we may sell a shul, we may likewise give it away. If the community didn’t receive any benefit in giving it away, they would not do so. A shul may not, however, be rented or used as security for a loan. Similarly, when a shul is torn down in order to rebuild it, it is permitted to sell the bricks, wood and dirt, or to trade them, or to give them away. One may not, however, lend them out. This is because they only become de-sanctified when exchanged for money, or for some benefit that is equivalent to money.

Tefillah u’Birkas Kohanim 11:21

Even though the congregation prays in the city's main street on fast days and such - because they are then too numerous to fit in the shul - the street is not sanctified in any way. This is because the street is not a place designated for prayer. Similarly, buildings and courtyards where people congregate to daven are in no way sanctified since they are not designated exclusively for prayer. Rather, people daven there on an as-needed basis just as one sometimes davens at home.