It wasnarrated that Ibn 'Umar said:
"When the deceased was placed inthe grave, the Prophet (ﷺ) would say: 'Bismillah, wa 'alamillatirasul-illah (In the Name of Allah and according to thereligion of theMessenger of Allah).'" Abu Khalid said on oneoccasion, when thedeceased was placed in the grave: "Bismillah wa'ala sunnati rasul-illah (In the Name of Allah and according to theSunnah of theMessenger of Allah)." Hisham said in his narration:"Bismillah, wa fisabil-illah, wa 'ala millati rasul-illah (Inthe Name of Allah, forthe sake of Allah and according to thereligion of the Messenger ofAllah)." (FR)
English reference (FR): Vol. 1, Book 6, Hadith 1550 (FR)
Arabic reference (FR): Book 6, Hadith 1617 (FR)