Abu Hurairah (RA) reported Allah's Messenger (ﷺ) as saying: I have held covenant with Thee which Thou wouldst not break, so for any believer whom I curse or beat, make that an expiation on the Day of Resurrection.
Hadith Referenceصحيح مسلم / كتاب البر والصلة والآداب / 2601