Narrated Damrah bin Habib (one of the Tabi'in or the followers of the Companions) narrated, ‘They (the Companions that he met) recommended that after the grave is leveled and the people leave, that one should stand by the grave and say three times to the deceased, 'O so-and-so, say:
"There is no god but Allah”, 'O so-and-so, say: "Allah is my Lord, Islam is my din (religion), and Muhammad is my prophet.” Related by Sa'id bin Mansur.
وَعَنْ عُثْمَانَ - رضى الله عنه - قَالَ: { كَانَ رَسُولُ اَللَّهِ - صلى الله عليه وسلم -إِذَا فَرَغَ مِنْ دَفْنِ الْمَيِّتِ وَقَفَ عَلَيْهِ وَقَالَ:
"اِسْتَغْفِرُوا لِأَخِيكُمْ وَسَلُوا لَهُ التَّثْبِيتَ, فَإِنَّهُ الْآنَ يُسْأَلُ" } رَوَاهُ أَبُو دَاوُدَ, وَصَحَّحَهُ الْحَاكِم ُ 1 .1 - صحيح. رواه أبو داود (3221)، والحاكم (1/370) وفي "أ": "واسألوا".
‘Uthman Ibn ‘Affan (RAA) narrated, ‘Whenever the Messenger of Allah (ﷺ) finished the burial of the dead, he would stand by the grave and say, “Seek forgiveness for your brother and pray for him to be steadfast, because he is now being questioned.” Related by Abu Dawud. Al-Hakim graded it as Sahih.
وَلِلطَّبَرَانِيِّ نَحْوُهُ مِنْ حَدِيثِ أَبِي أُمَامَةَ مَرْفُوعًا مُطَوَّلً ا 1 .1 - ضعيف. وتفصيل الكلام على هذا الحديث والأثر السابق تجده "بالأصل"، وفيه رد على كلام الحافظ في "التلخيص".
At-Tabarani Related A similar Hadith on the authority of Abu Umamah on the authority of the Prophet (ﷺ).
وَعَنْ عَامِرِ بْنِ رَبِيعَةَ - رضى الله عنه - { أَنَّ النَّبِيَّ - صلى الله عليه وسلم -صَلَّى عَلَى عُثْمَانَ بْنِ مَظْعُونٍ, وَأَتَى الْقَبْرَ, فَحَثَى عَلَيْهِ ثَلَاثَ حَثَيَاتٍ, وَهُوَ قَائِمٌ } رَوَاهُ اَلدَّارَقُطْنِيّ ُ 1 .1 - ضعيف جدا. رواه الدارقطني (2/76/1).
‘Amir bin Rabi’Ah (RAA) narrated that the Messenger of Allah (ﷺ) prayed over ‘Uthman bin Madh’un, then went to the grave and sprinkled three handfuls of soil while he was standing.’ Related by Ad-Darqutni.