Anas bin Malik reported,

The Prophet ﷺ said, "Help your brother, whether he is the wrongdoer or the wronged."We 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. That is how you help him."

Tirmidhi 2255

Sahih

حدثنا محمد بن حاتم المكتب حدثنا محمد بن عبد الله الأنصاري حدثنا حميد الطويل

عن أنس

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

الترمذي 2255صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tribulations
Chapter
Help your brother whether he is an oppressor or oppressed
Numbering
Darussalam 2255
Tirmidhi 2255