Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates: The Prophet Muhammad (peace and blessings be upon him) used to recite this supplication in the funeral prayer: "O Allah! Forgive our living and our dead, those present and those absent, our young and our elderly, our men and our women. O Allah! Whomever You keep alive from among us, keep him alive upon faith, and whomever You cause to die from among us, cause him to die upon Islam."