The Messenger of Allah said: "Any Muslim who has lost three of his children will not be touched by the Fire, except for what will fulfill the oath."
Jami` at-Tirmidhi Book 10, Hadith 96