Leviticus 24:19-21

MLV(i) 19 And if a man causes a blemish in his neighbor, as he has done, so will it be done to him: 20 injury for injury, eye for eye, tooth for tooth, as he has caused a blemish in a man, so will it be rendered to him.
21 And he who kills a beast will make it good. And he who kills a man will be put to death.