Sayyiduna Buraydah (may Allah be pleased with him) narrates: I was with the Prophet (peace and blessings be upon him) when he received the news that a son of a woman from the Ansar had died and she was grieving over him. The Prophet (peace and blessings be upon him) got up, and his Companions were with him. When he reached the woman's door, the woman was told that the Prophet (peace and blessings be upon him) was coming to offer condolences. The Prophet (peace and blessings be upon him) entered the house and said: "I have learned that you are grieving over your son." The woman said: "O Prophet of Allah! Why should I not grieve, when I am a raqub (a woman whose children do not survive), no child of mine lives?" The Prophet (peace and blessings be upon him) said: "The raqub is only she whose child lives. Any Muslim woman or Muslim man who has one child die (the narrator is unsure; perhaps the words are: three of his children die) and hopes for reward for them, Paradise becomes due for him." Sayyiduna Umar (may Allah be pleased with him), who was on the right of the Prophet (peace and blessings be upon him) at that time, said: "May my father and mother be sacrificed for you! And if two (children have died)?" The Prophet (peace and blessings be upon him) said: "And if two (the same reward will be attained)."
Imam al-Bazzar recorded it, and its narrators are the narrators of the Sahih.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الجنائز / 3986