The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship
Ṣaḥīḥ Muslim 6519
الرَّحِمُ مُعَلَّقَةٌ بِالْعَرْشِ تَقُولُ مَنْ وَصَلَنِي وَصَلَهُ اللَّهُ وَمَنْ قَطَعَنِي قَطَعَهُ اللَّهُ
ar-raḥimu muʿallaqatun bi-l-ʿarshi taqūlu man waṣalanī waṣalah Allāh waman qaṭaʿanī qaṭaʿah Allāh
Transliteration generated from the Arabic vowel marks
The full narration
A'isha reported Allah's Messenger (ﷺ) as saying:The tie of kinship is suspended to the Throne and says: He who unites me Allah would unite him and he who severed me Allah would sever him
Source
Ṣaḥīḥ Muslim · 6519
Ṣaḥīḥ