Is it permissible to pray in a mosque where graves were found during its expansion, and the bones were collected and placed under the foundation of the mosque, rather than being buried in the cemetery?
If a mosque is built upon the remains of the dead, then prayer in it is impermissible, because the Prophet, peace and blessings be upon him, forbade building over graves and taking them as mosques. And whoever performs an action that is not in accordance with the command of the Lawgiver, then it is rejected.
Summarized from the full answer at Ftawy · reviewed Sep 2, 2026
Read the full answer on Ftawyhttps://ftawy.com/en/questions/139045