The Messenger of Allah ﷺ said, "Allah, I am only a human being. So whichever Muslim man I have reviled, or flogged, or cursed, make it a purification and a reward for him."One narration has it as "a purification and a mercy."
حدثنا علي بن بحر حدثنا عيسى عن الأعمش عن أبي سفيان عن جابر مثله غير أنه قال زكاة ورحمة