حَدَّثَنَا عَبْدُ اللهِ بْنُ عُمَرَ بْنِ أَبَانَ ، حَدَّثَنَا إِسْمَاعِيلُ بْنُ عَيَّاشٍ ، قَالَ : حَدَّثَنِي عَبْدُ الرَّحْمَنِ بْنُ عَمْرٍو الْأَوْزَاعِيُّ ، وَسَعِيدُ بْنُ يُوسُفَ ، عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ ، عَنْ أَبِي سَلَمَةَ ، عَنْ أَبِي هُرَيْرَةَ ، قَالَ : كَانَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ يَقُولُ فِي الصَّلَاةِ عَلَى الْجِنَازَةِ : اللَّهُمَّ اغْفِرْ لِحَيِّنَا ، وَمَيِّتِنَا ، وَشَاهِدِنَا ، وَصَغِيرِنَا ، وَكَبِيرِنَا .
اللَّهُمَّ مَنْ أَحْيَيْتَهُ فَأَحْيِهِ عَلَى الْإِسْلَامِ ، وَمَنْ تَوَفَّيْتَهُ مِنَّا فَتَوَفَّهُ عَلَى الْإِيمَانِ .
اللَّهُمَّ لَا تَحْرِمْنَا أَجْرَهُ ، وَلَا تُضِلَّنَا بَعْدَهُ .
It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) used to supplicate in the funeral prayer with this du'a: "'Allahumma ighfir li-hayyina wa mayyitina wa shahidina wa saghirina wa kabirina; Allahumma man ahyaytahu fa-ahyihi 'ala al-Islam, wa man tawaffaytahu minna fa-tawaffahu 'ala al-iman; Allahumma la tahrimna ajrahu wa la tudillana ba'dah' (O Allah, forgive our living and our dead, those of us who are present, and our young and our old; O Allah, whomever of us You keep alive, keep him alive upon Islam, and whomever of us You cause to die, cause him to die upon faith; O Allah, do not deprive us of his reward and do not lead us astray after him)."