Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:1131ʿAbdullāh > ʿUthmān b. Abū Shaybah > Muḥammad b. Fuḍayl > Muḥammad b. ʿUthmān > Zādhānaʿan ʿAlī

Khadeejah ؓ asked the Prophet ﷺ about two children of her who had died during the jahiliyyah. The Messenger of Allah ﷺ said: “They are in Hell.ʿ When he saw that she was upset, he said: “If you saw where they are now, you would hate them.” She said: O Messenger of Allah ﷺ, about my child from you? He said: ʿHe is in Paradise.ʿ Then the Messenger of Allah ﷺ said: ʿThe believers and their children will be in Paradise and the mushrikeen and their children will be in Hell.” Then the Messenger of Allah ﷺ recited: “And those who believe and whose offspring follow them in Faith, - to them shall We join their offspring...” [At-Toor 52:25].  

أحمد:١١٣١حَدَّثَنَا عَبْدُ اللهِ حَدَّثَنِي عُثْمَانُ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا مُحَمَّدُ بْنُ فُضَيْلٍ عَنْ مُحَمَّدِ بْنِ عُثْمَانَ عَنْ زَاذَانَعَنْ عَلِيٍّ قَالَ

سَأَلَتْ خَدِيجَةُ النَّبِيَّ ﷺ عَنْ وَلَدَيْنِ مَاتَا لَهَا فِي الْجَاهِلِيَّةِ فَقَالَ رَسُولُ اللهِ ﷺ هُمَا فِي النَّارِ قَالَ فَلَمَّا رَأَى الْكَرَاهِيَةَ فِي وَجْهِهَا قَالَ لَوْ رَأَيْتِ مَكَانَهُمَا لَأَبْغَضْتِهِمَا قَالَتْ يَا رَسُولَ اللهِ فَوَلَدِي مِنْكَ؟ قَالَ فِي الْجَنَّةِ قَالَ ثُمَّ قَالَ رَسُولُ اللهِ ﷺ إِنَّ الْمُؤْمِنِينَ وَأَوْلادَهُمْ فِي الْجَنَّةِ وَإِنَّ الْمُشْرِكِينَ وَأَوْلادَهُمْ فِي النَّارِ ثُمَّ قَرَأَ رَسُولُ اللهِ ﷺ (وَالَّذِينَ آمَنُوا وَاتَّبَعَتْهُمْ ذُرِّيَّتُهُمْ بِإِيمَانٍ أَلْحَقْنَا بِهِمْ ذُرِّيَّاتِهِمْ [الطور 21]  


See similar narrations below:

Collected by Suyūṭī
suyuti:4-231bʿAl > Saʾlat Khadījah al-Nabi ﷺ > And Ladyn Mātā Lahā Fiá al-Jāhlīh > Rasūl
Request/Fix translation

  

السيوطي:٤-٢٣١b

"عَنْ عَلىٍّ قَالَ: سَألَتْ خَدِيجَةُ النَّبِىَّ ﷺ عَنْ وَلَديْنِ مَاتَا لَهَا فِى الجَاهلِيةِ، فَقَالَ رَسُولُ الله ﷺ : هُمَا فِى النَّارِ، فَلَمَّا رَأى الكَرَاهِيَةَ فِى وَجْهِهَا قَالَ: لَوْ رَأيتِ مَكَانَهُمَا لأبْغَضْتِهِمَا، قَالَتْ يَا رَسُولَ الله: فَوَلَدَىَّ مِنْكَ؟ قَالَ: فِى الجَنَّةِ، ثُمَّ قال رَسُولُ الله ﷺ : إِنَّ الْمُؤْمِنينَ وَأَوْلاَدهُمْ فِى الجَنَّةِ، وَإنَّ الْمُشْرِكينَ وأَولاَدهُمْ فِى النارِ، ثُمَّ قَرَأ رَسُولُ الله ﷺ {وَالَّذِينَ آمَنُوا وَاتَّبَعَتْهُمْ ذُرِّيَّتُهُمْ بِإِيمَانٍ أَلْحَقْنَا بِهِمْ ذُرِّيَّتَهُمْ} (*).  

[عم] زيادات عبد الله بن أحمد وابن أبى عاصم في السنة، قال ابن الجوزى في جامع المسانيد في إسناده محمد ابن عثمان لا يُقبل حديثه ولا يصح في تعذيب الأطفال حديث