Abu Hurairah reported,

I heard the Messenger of Allah ﷺ say, "O Allah, I have taken a covenant with You that You will not break with me. Any believer whom I have insulted or lashed, make that an expiation for him on the Day of Resurrection."

Muslim 6624

Sahih

حدثني زهير بن حرب وعبد بن حميد قال زهير حدثنا يعقوب بن إبراهيم حدثنا ابن أخي ابن شهاب عن عمه حدثني سعيد بن المسيب

عن أبي هريرة أنه قال

سمعت رسول الله ﷺ يقول اللهم إني اتخذت عندك عهدا لن تخلفنيه فأيما مؤمن سببته أو جلدته فاجعل ذلك كفارة له يوم القيامة

مسلم 6624صحيح
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 6624
Muslim 6624