for yourself.
In light of this, dear Muslim brother, you must train your soul to live by this principle: love for your fellow believers what you love for yourself so that your faith may be complete. An authentic report from the Prophet (peace and blessings be upon him) states, “Whoever wishes to be kept far from the Fire and admitted into Paradise, let death come to him while he believes in Allah and the Last Day, and let him love for people what he loves to be brought to him.” The first part affirms Allah’s right, and the second affirms the servants’ right. In other words, let death overtake you while you believe in the Last Day—may Allah grant that for us and for you—and let your desire be that your brother receive the very good you wish to receive yourself.
With respect to the second narration from Anas saying that the Prophet (peace and blessings be upon him) declared, “Support your brother, whether he is wronging others or is himself wronged,” the verb “support” here means to defend him by removing whatever harms him. “Support your brother” therefore signifies warding off what harms him, whether he happens to be the oppressor or the oppressed. A man asked, “Messenger of Allah, suppose he is the wrongdoer—how do I support him?” Notice that he did not say, “So I will not support him,” but rather, “How do I support him?”—meaning, I will indeed support him; just tell me how. The Prophet replied, “Restrain him—or he said, ‘hold him back’—from wrongdoing; that is your support for him.” Thus, when you see someone about to attack others and you prevent him, that prevention is his support. If he is the victim, then supporting him means removing the injustice being inflicted upon him.
This narration, therefore, proves the obligation to aid the one who is wronged, and likewise the obligation to aid the wrongdoer in the specific manner the Prophet (peace and blessings be upon him) outlined.