354- Taking back a waqf
Question: Is it correct that if a man builds a mosque beneath his house, in which congregational prayer is offered but Jumu’ah is not held, he may convert it into something other than a mosque, for example a commercial centre, if he intends to do so or needs to?
Answer: When a Muslim builds a mosque beneath his house for prayer and leaves it for people to pray in, it is then not permissible to take it back, whether to build a house, or for a shop, or to sell it, or to rent it out, or for any similar use, even if Jumu’ah is not held in it. This is because, by building it as a mosque and leaving it for the people, it has become waqf and has gone out of his ownership. Therefore it is not to be sold, nor given as a gift, nor distributed as part of an inheritance.
Reference: Al-Lajnah al-Da’imah: 4603