Wathila bin Asqa reported,

The Messenger of Allah ﷺ led us in the funeral prayer over a man from the Muslims, and I heard him say, "O Allah, so-and-so, son of so-and-so, is under Your protection and in the bond of Your safekeeping, so shield him from the trial of the grave and the torment of the Fire. You are the One worthy of fulfilling promises and truth," and in another narration, "and praise. O Allah, forgive him and have mercy on him, for You are the Most Forgiving, the Most Merciful."

Azami 3715

Hasan

عن واثلة بن الأسقع قال

صلى بنا رسول الله ﷺ على رجل من المسلمين، فسمعته يقول: اللهم إن فلان بن فلان في ذمتك، وحبل جوارك، فقه من فتنة القبر وعذاب النار، وأنت أهل الوفاء والحق- وفي رواية الحمد- اللهم فاغفر له وارحمه، إنك أنت الغفور الرحيم.

الأعظمي 3715حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Prayer over the deceased
Section
Supplications over the funeral
Numbering
Jami al-Kamil 3715 (2nd edition)
Azami 3715