Leviticus 24:19-21 NIV

19 Anyone who injures their neighbor is to be injured in the same manner:
20 fracture for fracture, eye for eye, tooth for tooth. The one who has inflicted the injury must suffer the same injury.

References for Leviticus 24:20

21 Whoever kills an animal must make restitution, but whoever kills a human being is to be put to death.

References for Leviticus 24:21