Hasan Basri reported,

The Messenger of Allah ﷺ said, "Help your brother whether he is the wrongdoer or the wronged."Someone asked, "Messenger of Allah, I understand helping him when he is wronged, but how do I help him when he is the wrongdoer?"He replied, "You restrain him and prevent him from wrongdoing. That is how you help him."

Ahmad 11949

Sahih

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

عن الحسن قال

قال رسول الله ﷺ انصر أخاك ظالما أو مظلوما قيل يا رسول الله هذا أنصره مظلوما فكيف أنصره إذا كان ظالما قال تحجزه تمنعه فإن ذلك نصره

أحمد 11949صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 11949
Ahmad 11949