Building over graves is among the gravest pathways to shirk (polytheism). Prohibiting it cuts off those avenues that lead to the most serious sin ever committed against Allah—“Indeed, associating others with Allah is a tremendous injustice” (31:13). A Companion once asked the Prophet ﷺ, “Which sin is greatest?” He replied, “That you set up a rival to Allah while He created you.”
The worst form of such construction is the lofty domes raised over the tombs of kings, leaders, and scholars—many of them even inside mosques—in open defiance of Allah, His Law, and His oneness. They must be demolished and every trace erased; nothing of them may be left standing.
Al-Sanʿānī writes in Purifying Belief: “These domes and shrines have become the greatest pretext for polytheism and atheism, and the foremost means of undermining Islam and destroying its structure. In most—indeed almost all—cases, those who erect them are kings, sultans, rulers, and governors, whether over a relative or over someone they hold in high regard—a righteous man, a scholar, a Sufi, or a venerable shaykh. While people who knew him are still alive, they visit his grave as one visits the dead: without seeking his intercession or chanting his name, but rather praying for him and asking forgiveness on his behalf. When that generation dies out, the next arrives to find a grave surmounted by a building, draped with cloths and strewn with flowers. They imagine it can bring benefit or ward off harm. The custodians then fabricate tales about the deceased—claiming he has done this or that, that he harmed one person and benefited another—until he ends up being worshipped instead of Allah.”
Shaykh al-Islam said, “The Prophet ﷺ forbade building over graves and ordered such structures to be demolished, and the scholars unanimously agree that covering a grave with cloth is an evil innovation.”
Shaykh ʿAbd al-ʿAzīz ibn Bāz—may Allah have mercy on him—stated, “Placing flowers on the Tomb of the Unknown Soldier or on any grave is an innovation; it is feared that this may lead to erecting domes over them, associating partners with the buried, and eventually taking them as patrons besides Allah.”
Accordingly, every structure built over a grave must be removed and the site leveled with the ground. The grave should rise no higher than a handspan, merely to mark its location so that it is not desecrated or exhumed; raising it above that height is likewise prohibited.