It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "For one of you to sit on a live coal is better for him than to sit on a grave." Sayyiduna Abu Hurayrah (may Allah be pleased with him) explained: "This means sitting to relieve oneself or to urinate." Imam Abu Dawud al-Tayalisi and Ahmad bin Mani' recorded it through Muhammad bin Abi Humayd, and he is a da'if (weak) narrator. The wording narrated by Ibn Mani' is that the Messenger of Allah (peace and blessings be upon him) said: "Whoever sits on a grave in order to relieve himself or urinate, it is as though he has sat on a blazing coal." Likewise Imam Musaddad recorded it as mawquf (stopping at the Companion), with the wording that Sayyiduna Abu Hurayrah (may Allah be pleased with him) said: "That I should sit on a live coal until it reaches my flesh and burns it is dearer to me than that I should sit on a grave." Uthman bin Hakim relates: I saw Kharijah bin Zayd in the graveyard and mentioned this (dislike) to him, and he sat me down on a grave and said: "This warning is only for the one who soils the grave." Imam Muslim, Abu Dawud, al-Nasa'i and Ibn Majah also recorded this narration with wording other than this.
Hadith Takhrij«رواه أبو داود الطيالسي وأحمد بن منيع من طريق محمد بن أبي حميد، وهو ضعيف» «أخرجه سنن النسائي برقم: 2044، وأخرجه سنن أبي داود برقم: 3228، وأخرجه سنن ابن ماجه برقم: 1566، وأخرجه مسند أحمد برقم: 8046، 8811، 9439، 10451، وأخرجه فتح الباري برقم: 1295، وأخرجه شرح معاني الآثار برقم: 2949، وأخرجه صحيح ابن حبان برقم: 3166، وأخرجه معرفة السنن والآثار برقم: 7808، وأخرجه شرح السنة برقم: 1519، وأخرجه السنن الصغير للبيهقي برقم: 1115»
It is narrated from Sayyiduna Amr bin Hazm or Sayyiduna Umarah bin Hazm (may Allah be pleased with him): "The Messenger of Allah (peace and blessings be upon him) saw me reclining against a grave and said: 'Get up; do not harm the occupant of the grave, lest he harm you.'" Ahmad bin Mani' recorded it with a chain that contains Ibn Lahi'ah, and Imam al-Nasa'i recorded it in al-Sunan al-Sughra through Sayyiduna Amr bin Hazm (may Allah be pleased with him) as marfu' with the words: "Do not sit on graves."
Hadith Takhrij«رواه أحمد بن منيع بسند فيه ابن لهيعة» «أخرجه مسند أحمد برقم: 27918، وأخرجه فتح الباري برقم: 1295، وأخرجه المستدرك على الصحيحين برقم: 6561، وأخرجه شرح معاني الآثار برقم: 2944»
It is narrated from Sayyiduna Abu Sa'id (may Allah be pleased with him): "The Prophet of Allah (peace and blessings be upon him) forbade building structures over graves, sitting on them, or praying on them." Imam Abu Ya'la recorded it, and the wording is his, while Imam Ibn Majah reported it in abridged form; both routes are narrated through al-Qasim bin Mukhaymirah from Sayyiduna Abu Sa'id (may Allah be pleased with him), although his hearing from him is not established. Imam Muslim and other muhaddithin also recorded it from the hadith of Sayyiduna Wathilah bin al-Asqa' (may Allah be pleased with him).
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف؛ لانقطاعه بين القاسم بن مخيمرة وأبي سعيد، وأصل النهي في صحيح مسلم
Hadith Takhrij«القاسم بن مخيمرة: ثقة فاضل، لم يسمع من أبي سعيد كما نص البوصيري؛ والنهي عن الجلوس على القبور والصلاة إليها في صحيح مسلم من حديث جابر وأبي مرثد» «أخرجه سنن ابن ماجه برقم: 1564، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 3715، 3716»
It is narrated from Sayyiduna Uqbah bin Amir (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "That I should sit on a blazing coal that burns my clothing and then reaches my skin, or mend my sandal with my own hand, is dearer to me than that I should step on the grave of any Muslim among you; and to me it makes no difference whether I relieve myself in the very middle of the market or among the graves." Imam Abu Ya'la recorded it with a sahih (authentic) chain, and likewise Imam Ibn Majah also recorded it, except that the words "that burns my clothes, then burns my skin" are not mentioned in his narration.