Hadith on Rahim: Be good to family, even if they are not

Abu Huraira reported: A man said, “O Messenger of Allah, I have relatives with whom I try to relate but they cut me off. I treat them well, but they treat me badly. I am forbearing with them, but they are harsh with me.” The Prophet, peace and blessings be upon him, said, “If it is as you say, then it is as if you threw hot ashes at them. Allah will be with you as a supporter as long as you remain like so.

Source: Ṣaḥīḥ Muslim 2558

Grade: Sahih (authentic) according to Muslim

عَنْ أَبِي هُرَيْرَةَ أَنَّ رَجُلاً قَالَ يَا رَسُولَ اللَّهِ إِنَّ لِي قَرَابَةً أَصِلُهُمْ وَيَقْطَعُونِي وَأُحْسِنُ إِلَيْهِمْ وَيُسِيئُونَ إِلَىَّ وَأَحْلُمُ عَنْهُمْ وَيَجْهَلُونَ عَلَىَّ فَقَالَ لَئِنْ كُنْتَ كَمَا قُلْتَ فَكَأَنَّمَا تُسِفُّهُمُ الْمَلَّ وَلاَ يَزَالُ مَعَكَ مِنَ اللَّهِ ظَهِيرٌ عَلَيْهِمْ مَا دُمْتَ عَلَى ذَلِكَ ‏

2558 صحيح مسلم كتاب البر والصلة والآداب باب صلة الرحم وتحريم قطيعتها