Hazrat Abu Ibrahim (may Allah have mercy on him) narrates from his father that when the Prophet Muhammad (peace and blessings be upon him) offered the funeral prayer, he would supplicate: O Allah! Forgive our living and our deceased, our elders and our children, our men and our women, and those present and those absent.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 23495
Hadith Gradingحکم دارالسلام:صحيح لغيره، وهذا إسناد ضعيف، أبو إبراهيم و أبوه لا يعرفان