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:3466Abū al-Yamān > Shuʿayb > Abū al-Zinād > ʿAbd al-Raḥman > Abū Hurayrah

That he heard Messenger of Allah ﷺ saying, "While a lady was nursing her child, a rider passed by and she said, 'O Allah! Don't let my child die till he becomes like this (rider).' The child said, 'O Allah! Don't make me like him,' and then returned to her breast (sucking it). (After a while) they passed by a lady who was being pulled and teased (by the people). The child's mother said, 'O Allah! Do not make my child like her.' The child said, 'O Allah! Make me like her.' Then he said, 'As for the rider, he is an infidel, while the lady is accused of illegal sexual intercourse (falsely) and she says: Allah is sufficient for me (He knows the truth).  

البخاري:٣٤٦٦حَدَّثَنَا أَبُو الْيَمَانِ أَخْبَرَنَا شُعَيْبٌ حَدَّثَنَا أَبُو الزِّنَادِ عَنْ عَبْدِ الرَّحْمَنِ حَدَّثَهُ أَنَّهُ سَمِعَ أَبَا هُرَيْرَةَ ؓ

أَنَّهُ سَمِعَ رَسُولَ اللَّهِ ﷺ يَقُولُ بَيْنَمَا امْرَأَةٌ تُرْضِعُ ابْنَهَا إِذْ مَرَّ بِهَا رَاكِبٌ وَهْىَ تُرْضِعُهُ فَقَالَتِ اللَّهُمَّ لاَ تُمِتِ ابْنِي حَتَّى يَكُونَ مِثْلَ هَذَا فَقَالَ اللَّهُمَّ لاَ تَجْعَلْنِي مِثْلَهُ ثُمَّ رَجَعَ فِي الثَّدْىِ وَمُرَّ بِامْرَأَةٍ تُجَرَّرُ وَيُلْعَبُ بِهَا فَقَالَتِ اللَّهُمَّ لاَ تَجْعَلِ ابْنِي مِثْلَهَا فَقَالَ اللَّهُمَّ اجْعَلْنِي مِثْلَهَا فَقَالَ أَمَّا الرَّاكِبُ فَإِنَّهُ كَافِرٌ وَأَمَّا الْمَرْأَةُ فَإِنَّهُمْ يَقُولُونَ لَهَا تَزْنِي وَتَقُولُ حَسْبِي اللَّهُ وَيَقُولُونَ تَسْرِقُ وَتَقُولُ حَسْبِي اللَّهُ  


See similar narrations below:

Collected by Ibn Ḥibbān

ذِكْرُ الْخَبَرِ الْمُدْحِضِ قَوْلَ مَنْ أَبْطَلَ وُجُودَ الْمُعْجِزَاتِ إِلَّا فِي الْأَنْبِيَاءِ

ibnhibban:6488Muḥammad b. Isḥāq b. Ibrāhīm a freed slave of Thaqīf > Muḥammad b. Rāfiʿ > Shabābah > And Rqāʾ > Abū al-Zinād > al-Aʿraj > Abū Hurayrah

[Machine] The Prophet ﷺ said, "While a woman was breastfeeding her child, a rider passed by her. She asked Allah not to let her son die until he becomes like this rider. She then asked Allah not to make her like him. Then the rider went back to his original state and passed by a cursed woman. She asked Allah not to make her son like her. Then she asked Allah to make her like her. As for the rider, he was a disbeliever, and as for the woman, they accused her of adultery, but she said, 'Allah is sufficient for me.' They accused her of stealing, but she said, 'Allah is sufficient for me.'"  

ابن حبّان:٦٤٨٨أَخْبَرَنَا مُحَمَّدُ بْنُ إِسْحَاقَ بْنِ إِبْرَاهِيمَ مَوْلَى ثَقِيفٍ حَدَّثَنَا مُحَمَّدُ بْنُ رَافِعٍ حَدَّثَنَا شَبَابَةُ حَدَّثَنِي وَرْقَاءُ عَنْ أَبِي الزِّنَادِ عَنِ الْأَعْرَجِ عَنْ أَبِي هُرَيْرَةَ

عَنِ النَّبِيِّ ﷺ قَالَ «بَيْنَمَا امْرَأَةٌ تُرْضِعُ ابْنَهَا مَرَّ بِهَا رَاكِبٌ وَهِيَ تُرْضِعُهُ فَقَالَتِ اللَّهُمَّ لَا تَمِتِ ابْنِي حَتَّى يَكُونَ مِثْلَ هَذَا قَالَ اللَّهُمَّ لَا تَجْعَلْنِي مِثْلَهُ ثُمَّ رَجَعَ إِلَى الثَّدْيِ فَمَرَّ بِامْرَأَةٍ تُلْعَنُ فَقَالَتِ اللَّهُمَّ لَا تَجْعَلِ ابْنِي مِثْلَهَا فَقَالَ اللَّهُمَّ اجْعَلْنِي مِثْلَهَا أَمَّا الرَّاكِبُ فَكَانَ كَافِرًا وَأَمَّا الْمَرْأَةُ فَيَقُولُونَ لَهَا إِنَّهَا تَزْنِي فَتَقُولُ حَسْبِيَ اللَّهُ وَيَقُولُونَ تَسْرِقُ وَتَقُولُ حَسْبِيَ اللَّهُ»