Islamic Fiqh > Funerals > Graves, shrines and inscriptions
Building over graves, inscribing them, visiting them as shrines: the Sunna's rule on grave treatment.
The grave is either a rounded mound (tasnim), sunna according to Abu Hanifa, Malik and Ahmad based on the account of Sufyan at-Tammar: « I saw the grave of the Prophet raised into a mound » (al-Bukhari 1352), or a flattened surface (tastih), sunna according to ash-Shafi'i based on the account of the 3 graves unveiled by Aisha (Abu Dawud 3220, weak hadith); both forms are permitted by agreement. Reusing a sepulcher before the complete disappearance of the first body, neither flesh nor bone, is forbidden according to the 4 schools, except for need (2 dead in one grave, separated by earth). Gathering relatives in one same cemetery is recommended: « I will bury beside him whichever of my own dies » (Abu Dawud 3206), and building, plastering or sitting upon graves is forbidden (Muslim 970).
Table of Contents :
Updated on 07 October 2026 at 6:42 PM
The grave is the last treatment the community renders the deceased: a correct pit, a sober form, an identifiable place for the visit. The chapter on burial of the legal encyclopedia treats 3 of its rules: the form to give the mound, the delay before reusing a sepulcher, and the gathering of relatives in one same cemetery. Constructions and inscriptions, absent from the sheets of the mawsua, are ruled by the hadiths of prohibition and by the fatwas of contemporary Sunni institutions.
Before the form of the mound, the sheet describes the pit itself: the grave with a lateral niche (lahd) is like a chest set into the wall, covered with a roof of bricks arranged so that the dead, once installed and the roof laid, does not touch that roof (al-Ifsah, al-Istidhkar, al-Mabsut, Tuhfat al-Fuqaha). The body rests sheltered, in a clean cavity, without contact with the covering; the space left between it and the roof recalls that the grave is not a sack but a temporary abode, built for the dead as a dwelling worthy of him.
This requirement of construction explains why the schools agree upon the permission of the 2 external forms: what is obligatory is played in the pit (protecting the body, orienting it toward the qibla), what is recommended is played outside (the form of the heap of earth), and the divergence of the imams touches only this second register. No school holds the flattened grave or the mound invalid: the burial is valid in both cases, only the reward of the most conforming gesture varies.
Upon the external form, the jurists agree upon the permission of the 2 ways, then differ over which is the sunna. Abu Hanifa, Malik and Ahmad retain that the sunna is the tasnim: raising the earth of the grave into a rounded mound, like the hump of the camel (sanam). Their proof, reported by al-Bukhari:
I saw the grave of the Prophet raised into a mound.
al-Bukhari 1352 (Sufyan at-Tammar)
Their complementary argument: the flattened grave resembles the constructions of the people of this lower world, and it is the distinctive sign of the people of innovation, for the rawafid practice it; that is why it is disliked (al-Bada'i, Bahr ar-Ra'iq, Rawdat at-Talibin).
Ash-Shafi'i retains on the contrary that the sunna is the tastih: the rectangular grave, flattened and leveled. His proof is the account of al-Qasim ibn Muhammad: I entered upon Aisha and said: mother of the believers, unveil for me the grave of the Prophet and of his 2 companions; she unveiled 3 graves, neither prominent nor hollowed, leveled with the red pebbles of al-Arusa. This hadith is weak: Abu Dawud (3220) reported it (al-Majmu', al-Mughni, Nayl al-Awtar).
The jumhur of the 4 schools, Hanafis, Malikis, Shafi'is and Hanbalis, expresses it expressly: it is not permitted, it is even forbidden, to bury a dead person at the spot of another dead person before the first has entirely decomposed, to the point that nothing remains of him, neither flesh nor bone. As long as a remain subsists, the sepulcher remains his, and the right of the buried dead prevails over the convenience of the living.
When nothing remains, neither flesh nor bone, the exhumation and the burial of a new dead person at that spot are permitted. The delay varies according to the terrains, the countries and the climate: decomposition is faster in hot countries than in cold ones. In case of doubt, to know whether the body has become earth, one returns to the people of experience, connoisseurs of cemeteries and soils; their view decides.
If bones are found in the grave, a second dead is not buried there, except for need: an abundant mortality, by massacre or epidemic, authorizes burying 2 dead or more in a single grave, for that cause. It is then recommended to interpose between the 2 bodies a layer of earth separating them; the shroud alone does not suffice as separator. The rule is recorded in the references of the 4 schools: Fath al-Qadir, Ibn Abidin and the gloss of at-Tahtawi among the Hanafis, Bulghat as-Salik, Mawahib al-Jalil and the gloss of ad-Dasuqi among the Malikis, al-Mughni, al-Furu and al-Insaf among the Hanbalis.
The order of priorities reads thus: first the respect of the first dead, whose body must complete its return to the earth without being disturbed; then the view of the specialists, which avoids deciding at random upon the state of a skeleton; finally necessity, which alone authorizes the exception of grouping, with the separation of earth so that the 2 bodies do not touch. The right of the dead buried first yields to no convenience of the living, not even the price of the land.
Ash-Shafi'i nuances in al-Majmu': if one finishes digging and bones appear, nothing prevents placing them at the side of the pit and burying the second dead with them; likewise, if the need requires burying the second with the bones, one buries him with them. The rule of the jumhur remains the waiting for decomposition, necessity alone opening the exception.
The jumhur of the jurists recommends uniting the deceased relatives in a single cemetery. The proof is the act of the Prophet at the death of Uthman ibn Maz'un: the body was carried, buried, then the Prophet ordered a man to go fetch him a stone; the man could not carry it. The Messenger of Allah then rose, rolled up his sleeves, and Katir, the reporter, says: al-Muttalib adds: I still believe I see the whiteness of the forearms of the Messenger of Allah when he rolled them up; he carried the stone and placed it at the head of the grave, then said:
By it I will know the grave of my brother, and I will bury beside him whichever of my own dies.
Abu Dawud 3206; al-Bayhaqi 3/412 (authenticated by al-Albani, Sahih Abi Dawud 2745)
The reason given by the schools: the gathering makes the visit of the relatives easier and multiplies the supplications of mercy addressed for them (ad-Dardir in the gloss of ad-Dasuqi, Rawdat at-Talibin, al-Qalyubi, al-Mughni, Kashaf al-Qina', Matalib Uli an-Nuha, al-Muhadhdhab). The stone placed at the head of the grave serves identification: a sober marker, an unworked stone, no inscription nor ornament.
The gesture of the Prophet teaches 2 things at once. Piety toward the dead brother: he himself carries the stone the companion could not lift, rolling up his sleeves, not delegating what he can accomplish with his own hands. And the regularity of the sunna: once the marker placed, he makes of it the center of a family cemetery, that of his own, each rejoining at his death the dead who preceded him. The Malikis record the inverse usage: moving the dead toward the blessed place or toward his own is licit only under 3 conditions, and the Muslim dead in a cemetery of non-Muslims is removed to be buried among the Muslims (sharh az-Zarqani, adh-Dhakhira, Manh al-Jalil).
The founding hadith of the sobriety of sepulchers, already present on this page, forbids 3 practices:
The Prophet forbade plastering graves, sitting upon them and building upon them.
Muslim 970
The manuals of the schools deduce from it the prohibition, or the firm discouragement, of durable constructions and ornaments: plastering the grave, clothing it in marble, raising an edifice. Sitting upon graves is forbidden or disliked according to the schools (Muslim 969).
The mosque or the dome over the grave is an aggravated case: « may Allah curse the Jews and the Christians: they made the graves of their prophets places of worship » (al-Bukhari 435). Ibn Baz, in his warning against the construction of mosques over graves, judges that it is not permitted to build upon a grave, neither mosque, nor dome, nor otherwise: this counts among the great sins and the ways of associationism. The Permanent Committee for Scientific Research and Fatwas (Fatawa al-Lajna ad-Da'ima) likewise forbids erecting mosques over graves, by reason of the reported prohibition and curse.
The veneration of tombs, asking the dead, hanging ex-votos there, organizing processions, is condemned by Ibn Taymiyya (Majmu al-Fatawa), Ibn Baz and Ibn Uthaymin: the request belongs to Allah alone. The respectful visit, with the greeting of peace to the deceased and the supplication in his favor, remains licit according to the majority, as long as no request is addressed to the dead.
The inscription upon graves is discouraged according to the majority of the scholars: the name engraved for ostentation prolongs the attachment to the lower world, and the grave of the sunna bears only a mute marker. The administrative stele required by cemetery law, bearing name and dates, is excused by necessity: it fulfills the function of the stone of Uthman ibn Maz'un, identifying the sepulcher, without going beyond it. The licit marker remains that of the Prophet: a rough stone, placed at the head, without writing.
Sober mound or flattened surface according to the school followed, both being permitted; no second inhumation before complete decomposition, except recognized necessity, with separation of earth between the bodies; gathering of relatives recommended for the visit; no construction, dome nor ostensible inscription upon the grave: the identification stone suffices.
The form of the grave: the jurists differed: is the sunna the tasnim or the tastih, after their agreement upon the permission of both. Abu Hanifa, Malik and Ahmad said: the tasnim is the sunna, based upon what al-Bukhari reported with his chain from Sufyan at-Tammar: I saw the grave of the Prophet raised into a mound (al-Bukhari 1352); it is raising the earth of the grave after the fashion of the hump of the camel. And because the tastih resembles the constructions of the people of the lower world and the sign of the people of innovation, the rawafid practicing it: it is therefore disliked.
Ash-Shafi'i said: the sunna is the tastih, that is, the rectangular grave, based upon the account of al-Qasim ibn Muhammad: I entered upon Aisha and said: unveil for me the grave of the Prophet and of his 2 companions; she unveiled for me 3 graves, neither prominent nor hollowed, leveled with the red pebbles of al-Arusa. Weak hadith, reported by Abu Dawud (3220).
Burying a dead person in the place of another dead person: the jumhur of the jurists, Hanafis, Malikis, Shafi'is and Hanbalis, expressed it expressly: it is not permitted, it is even forbidden, to bury a dead person at the spot of another dead person until the first decomposes entirely, to the point that nothing remains of him, neither flesh nor bone. If nothing remains of him, the exhumation and the burial at his spot are permitted; it varies according to the terrains, the countries and the climate, and is faster in hot countries than in cold ones; in case of doubt over his decomposition into earth, one returns to the people of experience.
If bones are found, no other dead is buried there, except for need, like the abundance of deaths by massacre or otherwise: it is then permitted to bury 2 dead or more in a single grave for that cause, and it is recommended to interpose between them an earth separating them; the shroud does not suffice. Ash-Shafi'i said in al-Majmu': if one finishes the grave and bones appear, it is not prevented to place them at the side of the grave and to bury the second with them.
Gathering relatives in one same cemetery: the jumhur of the jurists expressed that it is recommended to unite the deceased relatives in a single cemetery, by reason of the words of the Prophet when Uthman ibn Maz'un was buried: by it I will know the grave of my brother, and I will bury beside him whichever of my own dies; and because that eases their visit and multiplies the mercy invoked for them.
The complete hadith, as cited: when Uthman ibn Maz'un died, his remains was carried and buried; the Prophet ordered a man to bring him a stone; the man could not carry it; the Messenger of Allah rose, rolled up his sleeves and carried it himself, placed it at the head of the grave and said: by it I will know the grave of my brother, and I will bury beside him whichever of my own dies. Reported by Abu Dawud (3206) and al-Bayhaqi (3/412), authenticated by al-Albani in Sahih Abi Dawud (2745).
Both are permitted by agreement of the schools. Abu Hanifa, Malik and Ahmad prefer the rounded mound (tasnim), based upon: I saw the grave of the Prophet raised into a mound (al-Bukhari 1352). Ash-Shafi'i prefers the flattened and rectangular surface (tastih), based upon the 3 graves unveiled by Aisha, neither high nor low (Abu Dawud 3220, weak hadith).
No, as long as the first body has not entirely disappeared: neither flesh nor bone, according to the 4 schools. The delay depends upon the climate, shorter under heat. In case of doubt, the view of experienced people decides; only bones found prevent the second inhumation, except by necessity (al-Mughni, al-Majmu').
By necessity only: abundant mortality, massacre, epidemic. It is then recommended to separate the 2 bodies by a layer of earth; the shroud does not suffice as separation. Ash-Shafi'i also permits pushing bones to the side of the pit to bury the second beside them.
Yes, according to the jumhur of the schools: the Prophet placed a stone at the head of the grave of Uthman ibn Maz'un and said: by it I will know the grave of my brother, and I will bury beside him whichever of my own dies (Abu Dawud 3206; al-Bayhaqi 3/412; authenticated by al-Albani). The reason: easing the visit and multiplying the supplications of mercy.
No: the Prophet forbade plastering graves, sitting upon them and building upon them (Muslim 970). Ibn Baz judges construction over graves, mosque, dome or otherwise, among the great sins and the ways of associationism, and the Permanent Committee forbids it likewise (Fatawa al-Lajna ad-Da'ima).
The inscription is discouraged according to the majority of the scholars. The administrative stele bearing name and dates, required by cemetery law, is excused by necessity: it plays the role of the marker placed by the Prophet, the bare stone at the head of the grave of Uthman ibn Maz'un (Abu Dawud 3206).
Editorial method and corpus: see our editorial transparency page.