Dalil

Quran Ash-Shuraa 42:41

وَلَمَنِ ٱنتَصَرَ بَعۡدَ ظُلۡمِهِۦ فَأُوْلَٰٓئِكَ مَا عَلَيۡهِم مِّن سَبِيلٍ

Translation

And whoever retaliates after having been wronged - those have not upon them any cause [for blame].