From Sahih Bukhari (Hadith 5989):
Narrated `Aisha:(the wife of the Prophet) The Prophet (ﷺ) said, "The word 'Ar-Rahm' (womb) derives its name from 'Ar- Rahman' (i.e. Allah). So whosoever keeps good relations with it (womb i.e. Kith and kin), Allah will keep good relations with him, and whosoever will sever it (i.e. severs his bonds of Kith and kin) Allah too will sever His relations with him
Reference: Bukhari 5989