Question: Can a mosque be moved to another place because of some interest and an urgent need? Please clarify the issue with evidence from the Qur’an and Sunnah.
Answer: It is not valid to gift, sell, or use for one’s own personal need anything that has been made a waqf (endowment). As is in the hadith of Sahih al-Bukhari:
فَتَصَدَّقَ عُمَرُ اَنَّهُ لَا يُبَاعُ اَصْلُهَا وَلَا يُوْرَثُ وَلَا يُوْهَبُ
“Umar (may Allah be pleased with him) made the land of Khaybar a waqf (on the condition) that it would not be sold, would not be inherited, and would not be given as a gift.”
This hadith states that the principal of this land can neither be sold, nor can anyone inherit it, nor can it be gifted. A mosque too is a waqf for Allah the Most High, as is in the Noble Qur’an:
﴿وَأَنَّ الْمَسَاجِدَ لِلهِ فَلَا تَدْعُوْا مَعَ اللهِ أَحَدًا﴾
“And the mosques are for Allah (for His worship), so do not call upon anyone along with Allah.”
The second point is that the Messenger of Allah ﷺ gave the command to build mosques. Aisha (may Allah be pleased with her) says:
اَمَرَ رَسُوْلُ اللهِ صَلَّي اللهُ عَلَيْهِ وَسَلَّمَ بِبِنَاءِ الْمَسَاجِدِ فِي الدُّوْرِ وَاَنْ تُنَظَّفَ وَتُطَيَّبَ
“The Messenger of Allah ﷺ commanded that mosques be built in the neighbourhoods, and that they be kept clean and perfumed.”
Demolishing a mosque is against the command of the Prophet ﷺ. Therefore it is not valid to demolish a mosque without reason, or for someone to take it into his own possession and sell it. However, if the mosque is in a place where people cannot benefit from it, or it is on a road, which causes harm to the Muslims, or for some other interest, then it is valid to remove the mosque from one place and build it in another. The evidence for this is the report that in Kufa someone tunnelled into the Muslims’ bayt al-mal (public treasury) and stole from it. The one who had tunnelled was also caught. At that time the supervisor of the bayt al-mal was Abdullah ibn Mas’ud (may Allah be pleased with him). He wrote to the Commander of the Believers, Umar ibn al-Khattab (may Allah be pleased with him), and he replied:
أَنِ انْقُلِ الْمَسْجِدَ وَصَيِّرْ بَيْتَ الْمَالِ فِيْ قِبْلَتِهِ
“Move the mosque from here in such a way that the bayt al-mal comes to be in the qiblah of the mosque.”
Because there is always some worshipper in a mosque, the bayt al-mal would thereby be protected. So Sa’d ibn Malik (may Allah be pleased with him) removed the mosque from there and built it in the date market, and moved the market to the place where the mosque had been, and thus the bayt al-mal also came to be in the qiblah of the mosque.
All of this was taking place in the presence of many of the noble Companions (may Allah be pleased with them), and none of them prevented it. Had this act not been valid, the noble Companions (may Allah be pleased with them) would certainly have denied it.
Another evidence which the people of knowledge use is the hadith in the Sahihayn. The Prophet ﷺ said to Aisha (may Allah be pleased with her):
لَوْ لَا اَنَّ قَوْمَكِ حَدِيْثُ عَهْدٍ بِجَاهِلِيَّةٍ لَأَمَرْتُ بِالْبَيْتِ فَهُدِمَ فَأَدْخَلْتُ فِيْهِ مَا أُخْرِجَ مِنْهُ وَاَلْزَقْتُهُ بِالأَرْضِ وَجَعَلْتُ لَهُ بَابَيْنِ . . .
“If your people were not new to Islam, I would have commanded that the building of the Ka’bah be demolished, so that I would include in it the part that was left outside it, and level its base with the ground, and make two doors for it (one to enter and the other to exit).”
It is understood from this hadith that changing a waqf building and the like is permissible. Otherwise the Messenger of Allah ﷺ would not have expressed this. Moving a mosque from one place to another is also a kind of change, so it is permissible. But this can be done when the interest requires it and there is no fear of fitnah (strife), just as the Messenger of Allah ﷺ, despite expressing his wish regarding the Ka’bah, did not do so in order to avoid fitnah.
The third evidence is that whatever has been vowed also becomes a waqf. Changing it is also established from the statement of the Messenger of Allah ﷺ. For example, a person vows that he will make his house a mosque, then he has a mosque built in a better place than that; this is valid. The evidence for this is an authentic hadith.
It is narrated from Jabir (may Allah be pleased with him) that a man stood up at the conquest of Makkah and said: “O Messenger of Allah! I vowed that if Allah the Most High conquered Makkah for you, I would go to Bayt al-Maqdis and pray.” He ﷺ said to him: صَلِّ هٰهُنَا “Pray right here in the Prophet’s Mosque.” He said the same thing again. The Prophet ﷺ gave him the same answer again. When he repeated
the same a third time, he ﷺ said: فَشَأْنُكَ اِذًا “Then do as you wish.”
And in one narration these are the words:
وَالْذِيْ بَعَثَ مُحَمَّدًا بِالْحَقِّ لَوْ صَلَّيْتَ هٰهُنَا لَاَجْزَأَ عَنْكَ صَلَاةً فِيْ بَيْتِ الْمُقَدَّسِ
“By the One who sent Muhammad ﷺ with the truth, if you were to pray here (in the Prophet’s Mosque), it would suffice you in place of praying in Bayt al-Maqdis.”