Jami` at-Tirmidhi, Book 10, Hadith 96 (Tirmidhi 1062)

Abu Hurairah narrated that:

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."