Sahih Muslim 2602 c, d
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنَّمَا أَنَا بَشَرٌ وَإِنِّي اشْتَرَطْتُ عَلَى رَبِّي عَزَّ وَجَلَّ أَىُّ عَبْدٍ مِنَ الْمُسْلِمِينَ سَبَبْتُهُ أَوْ شَتَمْتُهُ أَنْ يَكُونَ ذَلِكَ لَهُ زَكَاةً وَأَجْرًا "
Jabir b. Abdullah reported Allah's Messenger (ﷺ) as saying:
I am a human being and I have made this term with my Lord, the Exalted and Glorious: For any servant amongst Muslims whom I curse or scold, make that a source of purity and reward. This hadith has been narrated on the authority of Ibn Juraij with the same chain of transmitters.
Full reference and source
Sahih Muslim 2602 c, d In-book : Book 45, Hadith 123 USC-MSA web (English) : Book 32, Hadith 6296 (deprecated)
View source on Sunnah.com (opens in a new tab)