Abu Hurayra reported that the Messenger of Allah ﷺ said, "No Muslim who has had three of his children die young will enter the Fire, except to expiate an unfulfilled oath."
الأدب المفرد ١٤٣:
أَنَّ رَسُولَ اللهِ ﷺ قَالَ لاَ يَمُوتُ لأَحَدٍ مِنَ الْمُسْلِمِينَ ثَلاَثَةٌ مِنَ الْوَلَدِ فَتَمَسَّهُ النَّارُ إِلاَّ تَحِلَّةَ الْقَسَمِ