Hazrat Abu Ibrahim (may Allah have mercy on him) narrates from his father that when the Prophet (peace and blessings be upon him) offered the funeral prayer, he used to supplicate: O Allah, forgive our living and our deceased, our elders and our young, our men and our women, and those present and those absent.
Hadith Referenceمسند احمد / مسند الشاميين / 17543
Hadith Gradingحکم دارالسلام:صحيح لغيره، وهذا إسناد ضعيف، أبو إبراهيم وأبوه لا يعرفان، وقد اختلف فيه على يحيى بن أبى كثير