Leviticus 24:19-21 NIV

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.1 As he has injured the other, so he is to be injured.

References for Leviticus 24:20

21 Whoever kills an animal must make restitution,2 but whoever kills a man must be put to death.3

References for Leviticus 24:21