وَالَّذِينَ إِذَا أَصَابَهُمُ الْبَغْيُ هُمْ يَنتَصِرُونَ
those who, when afflicted by oppression, defend themselves.
Agha Ali Puya Commentary
Commentary on Quran 42:39
[Pooya/Ali Commentary 42:39] There are believers who overlook the excesses committed to harm them and forgive the offenders, but some among them take revenge by following the principles of "eye for an eye". Refer to the commentary of Hajj : 60; Muminun: 96; Ha Mim: 34. As verse 40 prescribes the reprisal should be equal to the offence, but an extraordinary reward shall be given to those who decide to forgive. Refer to the commentary of Baqarah: 190 to 193, 216 and 256 to know that Islam was not preached by the sword, and all the battles imposed upon the Holy Prophet were fought by him in defence because as verse 42 says Allah does not love the unjust transgressor for whom there is a painful punishment .