Narrated `Abdullah bin `Umar
Allah's Messenger (ﷺ) said, "A Muslim is a brother of another Muslim. So he should neither oppress him nor hand him over to an oppressor. And whoever fulfilled the needs of his brother, Allah will fulfill his needs."
Narrated Anas
Allah's Messenger (ﷺ) said, "Help your brother whether he is an oppressor or an oppressed," A man said, "O Allah's Messenger (ﷺ)! I will help him if he is oppressed, but if he is an oppressor, how shall I help him?" The Prophet (ﷺ) said, "By preventing him from oppressing (others), for that is how to help him."