An-Nahl 16:126
And if you punish [an enemy, O believers], punish with an equivalent of that with which you were harmed.[720] But if you are patient - it is better for those who are patient.
Ayah 126
وَإِنْ عَاقَبْتُمْ فَعَاقِبُوا۟ بِمِثْلِ مَا عُوقِبْتُم بِهِۦ ۖ وَلَئِن صَبَرْتُمْ لَهُوَ خَيْرٌ لِّلصَّٰبِرِينَ
And if you punish [an enemy, O believers], punish with an equivalent of that with which you were harmed.[720] But if you are patient - it is better for those who are patient.