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.
bukhari:5999Ibn Abū Maryam > Abū Ghassān > Zayd b. Aslam from his father > ʿUmar

Some Sabi (i.e. war prisoners, children and woman only) were brought before the Prophet ﷺ and behold, a woman amongst them was milking her breasts to feed and whenever she found a child amongst the captives, she took it over her chest and nursed it (she had lost her child but later she found him) the Prophet said to us, "Do you think that this lady can throw her son in the fire?" We replied, "No, if she has the power not to throw it (in the fire)." The Prophet ﷺ then said, "Allah is more merciful to His slaves than this lady to her son."  

البخاري:٥٩٩٩حَدَّثَنَا ابْنُ أَبِي مَرْيَمَ حَدَّثَنَا أَبُو غَسَّانَ قَالَ حَدَّثَنِي زَيْدُ بْنُ أَسْلَمَ عَنْ أَبِيهِ

عَنْ عُمَرَ بْنِ الْخَطَّابِ ؓ قَدِمَ عَلَى النَّبِيِّ ﷺ سَبْىٌ فَإِذَا امْرَأَةٌ مِنَ السَّبْىِ قَدْ تَحْلُبُ ثَدْيَهَا تَسْقِي إِذَا وَجَدَتْ صَبِيًّا فِي السَّبْىِ أَخَذَتْهُ فَأَلْصَقَتْهُ بِبَطْنِهَا وَأَرْضَعَتْهُ فَقَالَ لَنَا النَّبِيُّ ﷺ أَتَرَوْنَ هَذِهِ طَارِحَةً وَلَدَهَا فِي النَّارِ قُلْنَا لاَ وَهْىَ تَقْدِرُ عَلَى أَنْ لاَ تَطْرَحَهُ فَقَالَ اللَّهُ أَرْحَمُ بِعِبَادِهِ مِنْ هَذِهِ بِوَلَدِهَا  


See similar narrations below:

Collected by Muslim, Suyūṭī
muslim:2754al-Ḥasan b. ʿAlī al-Ḥulwānī And Muḥammad b. Sahl al-Tamīmī Wa-al-Lafẓ Liḥasan > Ibn Abū Maryam > Abū Ghassān > Zayd b. Aslam from his father > ʿUmar b. al-Khaṭṭāb

Do you think this woman would ever afford to throw her child in the Fire? We said: By Allah, so far as it lies in her power, she would never throw the child in Fire. ' Thereupon Messenger of Allah ﷺ said: Allah is more kind to His servants than this woman is to her child.  

مسلم:٢٧٥٤حَدَّثَنِي الْحَسَنُ بْنُ عَلِيٍّ الْحُلْوَانِيُّ وَمُحَمَّدُ بْنُ سَهْلٍ التَّمِيمِيُّ وَاللَّفْظُ لِحَسَنٍ حَدَّثَنَا ابْنُ أَبِي مَرْيَمَ حَدَّثَنَا أَبُو غَسَّانَ حَدَّثَنِي زَيْدُ بْنُ أَسْلَمَ عَنْ أَبِيهِ عَنْ عُمَرَ بْنِ الْخَطَّابِ

أَنَّهُ قَالَ قَدِمَ عَلَى رَسُولِ اللَّهِ ﷺ بِسَبْىٍ فَإِذَا امْرَأَةٌ مِنَ السَّبْىِ تَبْتَغِي إِذَا وَجَدَتْ صَبِيًّا فِي السَّبْىِ أَخَذَتْهُ فَأَلْصَقَتْهُ بِبَطْنِهَا وَأَرْضَعَتْهُ فَقَالَ لَنَا رَسُولُ اللَّهِ ﷺ أَتَرَوْنَ هَذِهِ الْمَرْأَةَ طَارِحَةً وَلَدَهَا فِي النَّارِ قُلْنَا لاَ وَاللَّهِ وَهِيَ تَقْدِرُ عَلَى أَنْ لاَ تَطْرَحَهُ فَقَالَ رَسُولُ اللَّهِ ﷺ لَلَّهُ أَرْحَمُ بِعِبَادِهِ مِنْ هَذِهِ بِوَلَدِهَا  

suyuti:2-94bʿUmar
Request/Fix translation

  

السيوطي:٢-٩٤b

(عَنْ عُمَرَ قَالَ) (*) "قُدِمَ عَلَى النَّبِىِّ ﷺ بِسَبْىٍ فَإِذَا امْرَأَةٌ مِنَ السَّبْىِ تَسْعَى، إِذا وَجَدَتْ صَبِيًا في السَّبْىِ أَخَذَتْهُ فَأَلْصَقَتْهُ بِبَطْنِهَا وأرْضَعَتْهُ فَقَالَ لَنَا النَّبِىُّ ﷺ أتَرَوْنَ هَذِهِ طَارِحَةً وَلَدَهَا في النَّارِ؟ قُلْنَا: لَا، وَهِىَ تَقْدِرُ عَلَى أَنْ لَا تَطْرَحَهُ، قَالَ: الله أَرْحَمُ بِعِبَادِهِ مِنْ هَذِه بِوَلَدِهَا".  

[خ] البخاري [م] مسلم وأبو عوانة، [حل] أبى نعيم في الحلية