Umar bin Khattab reported,

Some captives were brought to the Messenger of Allah ﷺ, and there was a woman among the captives searching about, and whenever she found a child among the captives, she would take it, press it against her belly, and nurse it.The Messenger of Allah ﷺ said to us, "Do you think this woman would throw her child into the fire?"We replied, "No, by Allah, not while she is able to keep from throwing him."The Messenger of Allah ﷺ then said, "Allah is more merciful toward His servants than this woman is toward her child."

Azami 11400

Sahih

عن عمر بن الخطاب أنه قال

قدم على رسول الله ﷺ بسبي فإذا امرأة من السبي، تبتغي إذا وجدت صبيا في السبي، أخذته فألصقته ببطنها وأرضعته، فقال لنا رسول الله ﷺ: أترون هذه المرأة طارحة ولدها في النار؟ قلنا: لا، والله وهي تقدر على أن لا تطرحه، فقال رسول الله ﷺ: الله أرحم بعباده من هذه بولدها.

الأعظمي 11400صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Repentance and seeking forgiveness
Chapter
Comprehensive and general supplications
Section
Vastness of the mercy of Allah and that it precedes His wrath
Numbering
Jami al-Kamil 11400 (2nd edition)
Azami 11400