Leviticus 24:19-21

BSB(i) 19 If anyone injures his neighbor, whatever he has done must be done to him: 20 fracture for fracture, eye for eye, tooth for tooth. Just as he injured the other person, the same must be inflicted on him. 21 Whoever kills an animal must make restitution, but whoever kills a man must be put to death.