Sunan Ibn Majah, Book 6, Hadith 171 (Ibn Majah 1603)

It was narrated from Abu Hurairah that the Prophet (ﷺ) said:

“No man who loses three of his children will ever enter the Fire, except in fulfillment of the oath (of Allah).”*