“The Messenger of Allah ﷺ offered the funeral prayer for a man among the Muslims and I heard him say: ‘O Allah, so-and-so the son of so-and-so is in Your case and under Your protection. Protect him from the trial of the grave and the torment of the Fire, for You are the One Who keeps the promise and You are the Truth. Forgive him and have mercy on him, for You are the Oft-Forgiving, Most Merciful.” (Using translation from Ibn Mājah 1499)
أَنَّهُ سَمِعَ رَسُولَ اللهِ ﷺ يَقُولُ أَلَا إِنَّفُلَانَ بْنَ فُلَانٍ فِي ذِمَّتِكَ وحَبْلِ جِوَارِكَ فَقِهِ فِتْنَةَ الْقَبْرِ وَعَذَابَ النَّارِ أَنْتَ أَهْلُ الْوَفَاءِ وَالْحَقِّ اللهُمَّ فَاغْفِرْ لَهُ وَارْحَمْهُ فَإِنَّكَ أَنْتَ الْغَفُورُ الرَّحِيمُ