Abdullah bin Umar reported,

The Prophet ﷺ, when placing the deceased in the grave, would say, "In the name of Allah and upon the way of the Messenger of Allah ﷺ."

Azami 3778

Sahih

عن ابن عمر

أن النبي ﷺ كان إذا وضع الميت في القبر قال: بسم الله وعلى سنة رسول الله ﷺ.

الأعظمي 3778صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Burial and its related matters
Section
What is to be said when the deceased is placed in the grave
Numbering
Jami al-Kamil 3778 (2nd edition)