It is narrated from Sayyiduna Anas (may Allah be pleased with him) that when he lowered the deceased into the grave he would say: 'Allahumma jafi al-arda an janbayhi, wa wassi' alayhi hufratahu' (O Allah, keep the earth away from his two sides and make his grave spacious for him). Al-Harith bin Abi Usamah recorded it through al-Abbas bin al-Fadl, and he is a da'if (weak) narrator. It is also narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that when the Messenger of Allah (peace and blessings be upon him) placed the deceased in his grave, he would say: 'Bismillah, wa ala millati Rasulillah (peace and blessings be upon him)' (In the name of Allah, and upon the way (religion) of the Messenger of Allah (peace and blessings be upon him)). Imam Abu Dawud recorded it in his Sunan, and Imam Abu Ya'la, and through him Imam Ibn Hibban in his Sahih.
Hadith Takhrij«رواه الحارث بن أبي أسامة عن العباس بن الفضل وهو ضعيف» «أخرجه سنن الترمذي برقم: 1046، وأخرجه سنن أبي داود برقم: 3213، وأخرجه سنن ابن ماجه برقم: 1550، وأخرجه المعجم الأوسط للطبراني برقم: 7343، وأخرجه صحيح ابن حبان برقم: 3109، وأخرجه شرح السنة برقم: 1514»