Al-Adab Al-Mufrad, Book 8, Hadith 1 (In-Book)

Abu Hurayra reported that the Messenger of Allah, may Allah bless him and grant him peace, said, "No Muslim who has had three of his children die young will enter the Fire, except to expiate an unfulfilled oath."

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

sunnah.com