Sunan Ibn Majah, Book 6, Hadith 1671 (In-Book)

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).”*

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ ـ صلى الله عليه وسلم ـ قَالَ ‏ "‏ لاَ يَمُوتُ لِرَجُلٍ ثَلاَثَةٌ مِنَ الْوَلَدِ فَيَلِجَ النَّارَ إِلاَّ تَحِلَّةَ الْقَسَمِ ‏" ‏ ‏.‏

sunnah.com