Whoever kills an animal is to make restitution for it, but whoever kills a human being is to be put to death.
In context
19Anyone who injures his neighbor is to be given the same injury he inflicted — 20fracture for fracture, eye for eye, tooth for tooth. Whatever injury he has given another, the same is to be given to him. 21Whoever kills an animal is to make restitution for it, but whoever kills a human being is to be put to death. 22You are to have the same law for the foreigner as for the native-born, for I am Yahweh your God.” 23So Moses spoke to the Israelites, and they took the one who had cursed outside the camp and stoned him. The Israelites did just as Yahweh had commanded Moses.