The Messenger of Allah ﷺ said, "O Allah, whichever believer I have insulted, cursed, or lashed, make that for him a means of purification and reward."
حدثنا أبو معاوية عن الأعمش عن أبي سفيان
قال رسول الله ﷺ اللهم أيما مؤمن سببته أو لعنته أو جلدته فاجعلها له زكاة وأجرا