Exodus 21:23-25

21:23 But if there is serious injury, then you will give a life for a life, 21:24 eye for eye, tooth for tooth, hand for hand, foot for foot, 21:25 burn for burn, wound for wound, bruise for bruise.

Leviticus 24:17-21

24:17 “‘If a man beats any person to death, he must be put to death. 24:18 One who beats an animal to death must make restitution for it, life for life. 24:19 If a man inflicts an injury on his fellow citizen, just as he has done it must be done to him – 24:20 fracture for fracture, eye for eye, tooth for tooth – just as he inflicts an injury on another person that same injury must be inflicted on him. 24:21 One who beats an animal to death must make restitution for it, but one who beats a person to death must be put to death.

Matthew 5:38-39

Retaliation

5:38 “You have heard that it was said, ‘An eye for an eye and a tooth for a tooth.’ 5:39 But I say to you, do not resist the evildoer. But whoever strikes you on the right cheek, turn the other to him as well.