Leviticus 24:19-22 English Standard Version (ESV)

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.”

Leviticus 24