Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) said: "Whoever has a child die, a son or a daughter, whether he is content (with Allah's decree) or not, whether he is patient or not, will be given no reward other than Paradise."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 9998