The Messenger of Allah ﷺ said, "Help your brother, whether he is the wrongdoer or the wronged."Someone asked, "Messenger of Allah, we help him when he is wronged, but how do we help him when he is the wrongdoer?"He replied, "You restrain him from wrongdoing."
حدثنا يزيد أخبرنا حميد
أن رسول الله ﷺ قال انصر أخاك ظالما أو مظلوما قيل يا رسول الله هذا ننصره مظلوما فكيف ننصره ظالما قال تمنعه من الظلم