Hadithcore
Riyad as-Salihin, 237

Anas (May Allah bepleased with him) reported:

Messenger of Allah (ﷺ) said, "Help your brother, whether he is an oppressor or is oppressed". A man enquired: "O Messenger of Allah! I help him when he is oppressed, but how can I help him when he is an oppressor?" He (ﷺ) said, "You can keep him from committing oppression. That will be your help to him". <b>[Al-Bukhari]</b>.

وعنه قال‏:‏ قال رسول الله صلى الله عليه وسلم‏:‏ “انصر أخاك ظالمًا أو مظلومًا” فقال رجل‏:‏ يا رسول الله أنصره إذا كان مظلومًا أرأيت إن كان ظالمًا كيف أنصره‏؟‏ قال‏:‏ ‏"‏تحجزه -أو تمنعه- من الظلم فإن ذلك نصره” ‏(‏‏(‏رواه البخاري‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Introduction, Hadith 237
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) It is obligatory to support both the oppressed and the oppressor according to the manner mentioned by the Prophet (may Allah’s peace and blessings be upon him).<br> 2) Fulfilling the due rights of brotherhood in faith is one of the requirements of faith.<br> 3) The Muslim community is the one where meanings of mutual support in righteousness and piety are evident.
Related hadiths4
Compare isnād across 4 related chains →