Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Allah created the creation, and when He finished, the womb stood up and said something. Allah said, 'Stop.' It replied, 'This is the position of one seeking refuge in You from being severed.' He said, 'Would it not please you that I maintain ties with whoever maintains ties with you, and sever ties with whoever severs ties with you?' It said, 'Yes indeed, my Lord.' He said, 'Then that is yours.'"Then Abu Hurairah recited, "Would you then, if you were given authority, spread corruption in the land and sever your ties of kinship?" [Muhammad 47:22].

Bukhari 7502

Sahih

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

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

أن رسول الله ﷺ قال خلق الله الخلق فلما فرغ منه قامت الرحم فقال مه قالت هذا مقام العائذ بك من القطيعة فقال ألا ترضين أن أصل من وصلك وأقطع من قطعك قالت بلى يا رب قال فذلك لك ثم قال أبو هريرة {فهل عسيتم إن توليتم أن تفسدوا في الأرض وتقطعوا أرحامكم}

البخاري 7502صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tawhid
Chapter
His saying, "They want to change the words of Allah"
Numbering
Darussalam 7502
Bukhari 7502