وَجَزٰۤؤُا سَيِّئَةٍ سَيِّئَةٌ مِّثْلُهَا ۚفَمَنْ عَفَا وَاَصْلَحَ فَاَجْرُهٗ عَلَى اللّٰهِ ۗاِنَّهٗ لَا يُحِبُّ الظّٰلِمِيْنَ ( الشورى: ٤٠ )
Wa jazaaa'u saiyi'atin saiyi'tum misluha faman 'afaa wa aslaha fa ajruhoo 'alal laah; innahoo laa yuhibbuz zaalimeen (aš-Šūrā 42:40)
And the retribution for an evil act is an evil one like it, but whoever pardons and makes reconciliation – his reward is [due] from Allah. Indeed, He does not like wrongdoers. (Ash-Shuraa  : 40)
1 Mufti Taqi Usmani
The recompense of evil is evil like it. Then the one who forgives and opts for compromise has his reward undertaken by Allah. Surely, He does not like the unjust.