Al-Baqarah 178
يَا أَيُّهَا الَّذِينَ آمَنُوا كُتِبَ عَلَيْكُمُ الْقِصَاصُ فِي الْقَتْلَى ۖ الْحُرُّ بِالْحُرِّ وَالْعَبْدُ بِالْعَبْدِ وَالْأُنْثَىٰ بِالْأُنْثَىٰ ۚ فَمَنْ عُفِيَ لَهُ مِنْ أَخِيهِ شَيْءٌ فَاتِّبَاعٌ بِالْمَعْرُوفِ وَأَدَاءٌ إِلَيْهِ بِإِحْسَانٍ ۗ ذَٰلِكَ تَخْفِيفٌ مِنْ رَبِّكُمْ وَرَحْمَةٌ ۗ فَمَنِ اعْتَدَىٰ بَعْدَ ذَٰلِكَ فَلَهُ عَذَابٌ أَلِيمٌ
Yea ayyuheallazeena eamanoo kutiba aalaykumul kıseasu feel kaatlea al hurru bil hurri val aabdu bil aabdi val unsea bil unsea fa man ufiya lahu min aaheehi shay’un fattibeaun bil maa’roofi va adeaun ilayhi bi ihsean(ihseanin), zealika taahfeefun min raabbikum va raahmatun, fa mani’tadea baa’da zealika fa lahu aazeabun aleem(aleemun).
O, those who have become amenu! Retribution for murder is prescribed (allowed) for you: a free man for a free man, a slave for a slave, a woman for a woman. But if he is forgiven by his brother (killed) in exchange for something (for a ransom), then you need to follow the custom and gratefully pay him (who forgives); this is an alleviation from your Lord and a mercy; so, whoever exceeds the limit after this, then for him there is a painful torment.

