(34) باب قَوْلِ النَّبِيِّ صلى الله عليه وسلم {مَنْ آذَيْتُهُ فَاجْعَلْهُ لَهُ زَكَاةً وَرَحْمَةً}
Narrated Abu Huraira:
that he heard the Prophet (ﷺ) saying, "O Allah! If I should ever abuse a believer, please let that be a means of bringing him near to You on the Day of Resurrection."
Reference: Sahih al-Bukhari 6361
In-book reference: Book 80, Hadith 58
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 75, Hadith 372