Hadithcore
Bulugh al-Maram, 566

Abu Hurairah (RAA) narrated, ‘When the Messenger of Allah (ﷺ) prayed a funeral prayer, he would say, "O Allah! Forgive those of us who are alive, and those who are dead, those present and those absent, those who are young and those who are male and those who are female. O Allah! Let those of us to whom You have given life, live in Islam, and let those of us You take back die in a state of faith. O Allah! Do not deprive us of our reward for (supplicating for) him, and cause us not to go astray after him." Related by Muslim and the four Imams.

وَعَنْ أَبِي هُرَيْرَةَ ‏- رضى الله عنه ‏- قَالَ: { كَانَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-إِذَا صَلَّى عَلَى جَنَازَةٍ يَقُولُ: "اَللَّهُمَّ اغْفِرْ لِحَيِّنَا, وَمَيِّتِنَا, وَشَاهِدِنَا, وَغَائِبِنَا, وَصَغِيرِنَا, وَكَبِيرِنَا, وَذَكَرِنَا, وَأُنْثَانَا, اَللَّهُمَّ مَنْ أَحْيَيْتَهُ مِنَّا فَأَحْيِهِ عَلَى اَلْإِسْلَامِ, وَمَنْ تَوَفَّيْتَهُ مِنَّا فَتَوَفَّهُ عَلَى اَلْإِيمَانِ, اَللَّهُمَّ لَا تَحْرِمْنَا أَجْرَهُ, وَلَا تُضِلَّنَا بَعْدَهُ } رَوَاهُ مُسْلِمٌ, وَالْأَرْبَعَةُ [1]‏ .‏

References2 variants
In-Book Reference
Book 3, Hadith 34
English Reference
Book 3, Hadith 590
Related hadiths3
Compare isnād across 3 related chains →