Bulugh al-Maram
Bulugh al-Maram 582
وَعَنْ ضَمْرَةَ بْنِ حَبِيبٍ أَحَدِ التَّابِعِينَ قَالَ: { كَانُوا يَسْتَحِبُّونَ إِذَا سُوِّيَ عَلَى الْمَيِّتِ قَبْرُهُ, وَانْصَرَفَ اَلنَّاسُ عَنْهُ, أَنْ يُقَالَ عِنْدَ قَبْرِهِ: يَا فُلَانُ! قُلْ: لَا إِلَهَ إِلَّا اَللَّهُ. ثَلَاثُ مَرَّاتٍ, يَا فُلَانُ! قُلْ: رَبِّيَ اللَّهُ, وَدِينِيَ الْإِسْلَامُ, وَنَبِيِّ مُحَمَّدٌ - صلى الله عليه وسلم -} رَوَاهُ سَعِيدُ بْنُ مَنْصُورٍ مَوْقُوفًا . 1 .1 - ضعيف.
Dumrah ibn Habib, one of the Successors, said: They used to recommend that when the grave had been leveled and people had departed, someone should say at the grave three times: O so-and-so, say: There is no god but Allah. O so-and-so, say: My Lord is Allah, my religion is Islam, and my Prophet is Muhammad (peace and blessings be upon him). Reported from Dumrah by Said ibn Mansur as a mawquf report; the editor grades it weak.