Our master Abdullah ibn Abbas (Allah be pleased with him) narrates,
Allah’s Messenger (blessings and peace of Allah be upon him) said, “If any member of my people has two children who die before him, Allah will cause him to enter Paradise on their account.”
(Our mother) Aisha (Allah be pleased with her) asked, “Does it apply to a member of your people who has one child who dies before him?” He replied, “It does, you who have been helped by Allah to ask this.”
She then asked, “What about a member of your people who has no children who die before him?” He replied, “I am the one who dies before my people, and they will never suffer any loss to compare with the loss of me.”
Al-Tirmidhi Hadith # 1735