It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever from my Ummah has two children who died before him, Allah will admit him into Paradise." Sayyidah Aishah (may Allah be pleased with her) said: And whoever has one child who died before him? He (peace and blessings be upon him) said: "And whoever has even one child who died before him, O muwaffaqah (you who are guided to say what is right)." She said: And whoever has no child who died before him? He (peace and blessings be upon him) said: "Then I am the forerunner of my Ummah; they will never be afflicted with a loss like the loss of me."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12824