Jabir bin Abdullah reported,

I heard the Messenger of Allah ﷺ say, "I am only a human being, and I have stipulated with my Lord عز وجل that any servant of Allah among the Muslims whom I revile or curse, let that be a purification and a reward for him."

Muslim 6626

Sahih

حدثنيه ابن أبي خلف حدثنا روح ح و حدثناه عبد بن حميد حدثنا أبو عاصم جميعا عن ابن جريج بهذا الإسناد مثله

مسلم 6626صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Righteousness, maintaining ties, and good manners
Chapter
Whoever the Prophet ﷺ cursed, reviled, or supplicated against
Numbering
Darussalam 6626
Muslim 6626