It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Any Muslim whose three children die, the Fire will not touch him except to fulfil the oath."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13458