In the Torah We prescribed for them a life for a life, an eye for an eye, a nose for a nose, an ear for an ear, a tooth for a tooth, an equal wound for a wound: if anyone forgoes this out of charity, it will serve as atonement for his bad deeds. Those who do not judge according to what God has revealed are doing grave wrong.
We ordained therein for them: "Life for life, eye for eye, nose or nose, ear for ear, tooth for tooth, and wounds equal for equal." But if any one remits the retaliation by way of charity, it is an act of atonement for himself. And if any fail to judge by (the light of) what Allah hath revealed, they are (No better than) wrong-doers.