Leviticus 24:21

And whoever kills an animal shall restore it; but whoever kills a man shall be put to death.

Surrounding context

24:20 fracture for fracture, eye for eye, tooth for tooth; as he has caused disfigurement of a man, so shall it be done to him.

24:21 And whoever kills an animal shall restore it; but whoever kills a man shall be put to death.

24:22 You shall have the same law for the stranger and for one from your own country; for I am the LORD your God."'

Translation and sources