وعن أبي هريرة رضي الله عنه قال : فكان رسول الله صلى الله عليه وآله وسلم إذا صلى على جنازة يقول :« اللهم اغفر لحينا وميتنا وشاهدنا وغائبنا وصغيرنا وكبيرنا وذكرنا وأنثانا اللهم من أحييته منا فأحيه على الإسلام ومن توفيته منا فتوفه على الإيمان اللهم لا تحرمنا أجره ولا تضلنا بعده». رواه مسلم والأربعة.
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.