Question
Can a mosque be built on land that has been endowed (waqf) for a school?
Answer
The basic ruling regarding endowments is that the endowments and the conditions of the founder of the endowment (waqif) are not to be changed. Allah the Exalted says:
’’يا أيها الذين آمنوا أوفوا بالعقود ‘‘
O you who believe, fulfil your contracts.
The command to fulfil contracts here includes both the original endowment and its conditions. However, if the change would bring greater benefit, some scholars allow room for its permissibility:
Dr. Khalid al-Mushaiqih says:
There are three forms of change in the conditions of the founder of an endowment.
1. Change from the higher to the lower: for example, the founder endowed it for poor relatives, and it is then diverted to poor strangers. This is forbidden, and impermissible by consensus.
2. Change from equal to equal: for example, the founder endowed it for the poor of his own city, and it is then diverted to another city. This too is forbidden, and impermissible by consensus.
3. Change from the lower to the higher: for example, the founder endowed it for worshippers, and it is then diverted to scholars, because scholars are better than worshippers. There are two opinions among the scholars regarding this:
The first opinion: this too is impermissible and forbidden. This is the opinion of the Shafi’is and the Hanbalis.
The second opinion: this form is permissible and lawful. This is the opinion of the Malikis and the Hanafis. Shaykh al-Islam Ibn Taymiyyah (may Allah have mercy on him) also chose this view.
My own inclination is also towards this second opinion, because it holds greater benefit and hope of reward, which was the founder’s original purpose.
In light of the above discussion, we can consider whether a school or a mosque is more beneficial. The mosque is the purest place in the world and the most beloved to Allah, and it is in every respect a more virtuous place than a school. Therefore a mosque can be built on this land, because this change is من الادني الي الاعلي.