Ash-Shuraa 42:41
وَلَمَنِ ٱنتَصَرَ بَعْدَ ظُلْمِهِۦ فَأُو۟لَـٰٓئِكَ مَا عَلَيْهِم مِّن سَبِيلٍ
Walamani intasara baAAda thulmihifaola-ika ma AAalayhim min sabeel
And whoever retaliates after having been wronged - those have not upon them any cause [for blame].
The one who defends himself after having been wronged, there is no blame on such people.