Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Allah created all creation, and when He had finished, the womb stood up and said, 'This is the place of one seeking refuge with You from being severed.'Allah said, 'Yes. Are you not pleased that I should maintain ties with whoever maintains ties with you, and sever ties with whoever severs ties with you?'The womb replied, 'Yes indeed.'Allah said, 'Then that is yours.'"Then the Messenger of Allah ﷺ said, "Recite if you wish, 'Would you then, if you were given authority, cause corruption in the land and sever your ties of kinship? Such are the ones whom Allah has cursed, so He made them deaf and blinded their sight. Will they not then ponder the Quran, or are there locks upon their hearts?' [Muhammad 47:22–24]"

Muslim 6518

Sahih

حدثنا قتيبة بن سعيد بن جميل بن طريف بن عبد الله الثقفي ومحمد بن عباد قالا حدثنا حاتم وهو ابن إسمعيل عن معاوية وهو ابن أبي مزرد مولى بني هاشم حدثني عمي أبو الحباب سعيد بن يسار

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

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

مسلم 6518صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Righteousness, maintaining ties, and good manners
Chapter
Sila of the womb and the prohibition of severing it
Numbering
Darussalam 6518
Muslim 6518