The Prophet (ﷺ) said, ‘When you put death body in grave, say:
بِسْمِ اللَّهِ وَعَلَى مِلَّةِ رَسُوْلِ اللَّهِ
Pronunciation
Bismillaahi wa 'alaa millati Rasoolillaah
Meaning
With the Name of Allah and according to the millat of the Messenger of Allah (ﷺ). Sunnah is to place the dead in the grave on his right side. There is no evidence to place the dead on his back and hands on the chest. When giving soil, there is no Dua to recite except Bismillah.
Source: Sahih. Ibn Majah: 1550
Read the hadith
حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا إِسْمَاعِيلُ بْنُ عَيَّاشٍ، حَدَّثَنَا لَيْثُ بْنُ أَبِي سُلَيْمٍ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، عَنِ النَّبِيِّ ـ صلى الله عليه وسلم ـ ح وَحَدَّثَنَا عَبْدُ اللَّهِ بْنُ سَعِيدٍ، حَدَّثَنَا أَبُو خَالِدٍ الأَحْمَرُ، حَدَّثَنَا الْحَجَّاجُ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، قَالَ كَانَ النَّبِيُّ ـ صلى الله عليه وسلم ـ إِذَا أُدْخِلَ الْمَيِّتُ الْقَبْرَ قَالَ " بِسْمِ اللَّهِ وَعَلَى مِلَّةِ رَسُولِ اللَّهِ " . وَقَالَ أَبُو خَالِدٍ مَرَّةً إِذَا وُضِعَ الْمَيِّتُ فِي لَحْدِهِ قَالَ " بِسْمِ اللَّهِ وَعَلَى سُنَّةِ رَسُولِ اللَّهِ " . وَقَالَ هِشَامٌ فِي حَدِيثِهِ " بِسْمِ اللَّهِ وَفِي سَبِيلِ اللَّهِ وَعَلَى مِلَّةِ رَسُولِ اللَّهِ " .
It was narrated that Ibn ‘Umar said: “When the deceased was placed in the grave, the Prophet (ﷺ) would say: ‘Bismillah, wa ‘ala millati rasul-illah (In the Name of Allah and according to the religion of the Messenger of Allah).’” Abu Khalid said on one occasion, when the deceased was placed in the grave: “Bismillah wa ‘ala sunnati rasul- illah (In the Name of Allah and according to the Sunnah of the Messenger of Allah).” Hisham said in his narration: “Bismillah, wa fi sabil-illah, wa ‘ala millati rasul-illah (In the Name of Allah, for the sake of Allah and according to the religion of the Messenger of Allah).” [Sahih (Albani). Ibn Majah: 1550]
Duas from IslamicAPI's Masnun Dua dataset (based on the Quran, hadith, Hisnul Muslim and Rahe Belayat). See the dataset