Language:
كتاب التوحيد
97  
Oneness, Uniqueness of Allah (Tawheed)
(35)
Chapter: “…They want to change Allah’s Words….”
(35)
Sahih al-Bukhari 7502

Narrated Abu Huraira:

Allah's Messenger (ﷺ) said, "Allah created the creation, and when He finished from His creation the Rahm (womb) got up, and Allah said (to it). "Stop! What do you want? It said; "At this place I seek refuge with You from all those who sever me (i.e. sever the ties of Kinship.)" Allah said: "Would you be pleased that I will keep good relation with the one who will keep good relation with you, and I will sever the relation with the one who will sever the relation with you. It said: 'Yes, 'O my Lord.' Allah said (to it), 'That is for you.'' And then Abu Huraira recited the Verse:-- "Would you then if you were given the authority, do mischief in the land, and sever your ties of kinship." (47.22)

حَدَّثَنَا إِسْمَاعِيلُ بْنُ عَبْدِ اللَّهِ، حَدَّثَنِي سُلَيْمَانُ بْنُ بِلاَلٍ، عَنْ مُعَاوِيَةَ بْنِ أَبِي مُزَرِّدٍ، عَنْ سَعِيدِ بْنِ يَسَارٍ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏"‏ خَلَقَ اللَّهُ الْخَلْقَ فَلَمَّا فَرَغَ مِنْهُ قَامَتِ الرَّحِمُ فَقَالَ مَهْ‏.‏ قَالَتْ هَذَا مَقَامُ الْعَائِذِ بِكَ مِنَ الْقَطِيعَةِ‏.‏ فَقَالَ أَلاَ تَرْضَيْنَ أَنْ أَصِلَ مَنْ وَصَلَكِ، وَأَقْطَعَ مَنْ قَطَعَكِ قَالَتْ بَلَى يَا رَبِّ‏.‏ قَالَ فَذَلِكِ لَكِ ‏"‏‏.‏ ثُمَّ قَالَ أَبُو هُرَيْرَةَ ‏{‏فَهَلْ عَسَيْتُمْ إِنْ تَوَلَّيْتُمْ أَنْ تُفْسِدُوا فِي الأَرْضِ وَتُقَطِّعُوا أَرْحَامَكُمْ‏}
Reference : Sahih al-Bukhari 7502
In-book reference : Book 97, Hadith 127
USC-MSA web (English) reference : Vol. 9, Book 93, Hadith 593
  (deprecated numbering scheme)