Abu Hurairah reported,

He heard the Messenger of Allah ﷺ say, "While a woman was nursing her son, a rider passed by her as she was nursing him, so she said, 'Allah, do not let my son die until he becomes like this man.' The child responded, 'Allah, do not make me like him,' and then returned to the breast.Then a woman passed by who was being dragged along and mocked, so the mother said, 'Allah, do not make my son like her.' The child responded, 'Allah, make me like her.'The child then explained, 'As for the rider, he is a disbeliever. As for the woman, people say to her, You commit fornication, and she replies, Allah is sufficient for me. They say, You steal, and she replies, Allah is sufficient for me.'"

Bukhari 3466

Sahih

حدثنا أبو اليمان أخبرنا شعيب حدثنا أبو الزناد عن عبد الرحمن حدثه أنه سمع

أبا هريرة رضي الله عنه

أنه سمع رسول الله ﷺ يقول بينا امرأة ترضع ابنها إذ مر بها راكب وهي ترضعه فقالت اللهم لا تمت ابني حتى يكون مثل هذا فقال اللهم لا تجعلني مثله ثم رجع في الثدي ومر بامرأة تجرر ويلعب بها فقالت اللهم لا تجعل ابني مثلها فقال اللهم اجعلني مثلها فقال أما الراكب فإنه كافر وأما المرأة فإنهم يقولون لها تزني وتقول حسبي الله ويقولون تسرق وتقول حسبي الله

البخاري 3466صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Hadiths of the prophets
Chapter
Hadith of the cave
Numbering
Darussalam 3466
Bukhari 3466