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.