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)."
Hadith Referenceمسند أبي يعلى الموصلي / مسند أبي هريرة رضي الله عنه / 6009
Hadith Gradingمحدثین:إسناده جيد
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده جيد . » «قال سعيد بن محمد السناري: ضعيف» «أخرجه سنن ابن ماجه برقم: 1498، وأخرجه مسند أحمد برقم: 8591، وأخرجه السنن الكبرى للنسائي برقم: 11146، مسند ابویعلیٰ ترقیم الاثری: 5983»