Leviticus 24:17-22 ESV
17 “Whoever takes a human life shall surely be put to death. 18 Whoever takes an animal's life shall make it good, life for life. 19 If anyone injures his neighbor, as he has done it shall be done to him, 20 fracture for fracture, eye for eye, tooth for tooth; whatever injury he has given a person shall be given to him. 21 Whoever kills an animal shall make it good, and whoever kills a person shall be put to death. 22 You shall have the same rule for the sojourner and for the native, for I am the Lord your God.”
Matthew 5:38-42 ESV
38 “You have heard that it was said, ‘An eye for an eye and a tooth for a tooth.’ 39 But I say to you, Do not resist the one who is evil. But if anyone slaps you on the right cheek, turn to him the other also. 40 And if anyone would sue you and take your tunic,[a] let him have your cloak as well. 41 And if anyone forces you to go one mile, go with him two miles. 42 Give to the one who begs from you, and do not refuse the one who would borrow from you.