ENOfficial
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."
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا إِسْمَاعِيلُ قَالَ: حَدَّثَنِي مَالِكٌ، عَنِ ابْنِ شِهَابٍ، عَنِ ابْنِ الْمُسَيِّبِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللهِ صلى الله عليه وسلم قَالَ: لاَ يَمُوتُ لأَحَدٍ مِنَ الْمُسْلِمِينَ ثَلاَثَةٌ مِنَ الْوَلَدِ، فَتَمَسَّهُ النَّارُ، إِلاَّ تَحِلَّةَ الْقَسَمِ.
sunnah.com