It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Holy Prophet (peace and blessings of Allah be upon him) said: Any Muslim whose three children have died, it is not possible that he will enter Hell except to fulfill an oath (he will not remain in Hell forever).
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 7265