What is the ruling on praying in a mosque that was built before a grave was placed inside it in the direction of the Qiblah, and what should be done regarding this matter?
Source: FtawySummary from Ftawy's records · added here Sep 2, 2026
It is forbidden to build mosques over graves and to bury the dead in mosques, due to the prohibitions and warnings mentioned in the noble prophetic hadiths. Mosques and graves do not co-exist; whichever came into existence later must be removed. If it is impossible to remove either the mosque or the grave, prayer is permissible in the mosque containing a grave, as long as there are no polytheistic practices such as supplicating to the dead or circumambulating the grave. Otherwise, prayer therein is impermissible.
Summary from Ftawy's records · added here
Reviewed by El Fatwa's sharia committee.
Read the full answer on Ftawyhttps://ftawy.com/en/questions/32232
Where this answer came from
- Source platform
- Ftawy
- Original fatwa ID
- 32232
- Added here
- . This is when the answer was added to El Fatwa, not the fatwa's date.
- Text
- Summary from Ftawy's records, reviewed by El Fatwa's sharia committee.
- Read the full ruling
- Read the full answer on Ftawy