Al-Adab Al-Mufrad, Book 2, Hadith 6 (In-Book)

Abu Hurayra said, "A man came to the Prophet, may Allah bless him and grant him peace, and said, 'Messenger of Allah! I have relatives with whom I maintain ties while they cut me off. I am good to them while they are bad to me. They behave foolishly towards me while I am forbearing towards them.' The Prophet said, 'If things are as you said, it is as if you were putting hot ashes on them and you will not lack a supporter against them from Allah as long as you continue to do that.'"

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

sunnah.com