The Book on Jana''iz (Funerals)
Jāmiʿ at-Tirmidhī 1024
اللَّهُمَّ اغْفِرْ لِحَيِّنَا وَمَيِّتِنَا وَشَاهِدِنَا وَغَائِبِنَا وَصَغِيرِنَا وَكَبِيرِنَا وَذَكَرِنَا وَأُنْثَانَا
Allāhumma āghfir liḥayyinā wamayyitinā washāhidinā waghāʾibinā waṣaghīrinā wakabīrinā wadhakarinā wa-unthānā
Transliteration generated from the Arabic vowel marks
The full narration
Abu Ibrahim Al-Ashhali narrated :from his father who said: "When the Messenger of Allah would perform the Salat for the funeral he would said: (Allahammaghfir li-hayyina wa mayyittina, wa shahidina wa gha'ibina, wa saghirina wa kabirina, wa dhakarina wa unthana) 'O Allah! Forgive our living and our deceased, our present and our absent, our young and our old, our male and our female
Source
Jāmiʿ at-Tirmidhī · 1024
- Ahmad Muhammad Shakir: Sahih
- Al-Albani: Sahih
- Bashar Awad Maarouf: Hasan Sahih
- Zubair Ali Zai: Sahih
Also narrated in Sunan Ibn Mājah 1498.
Read it at the source ↗