Leviticus 24:17-23 - An Eye For An Eye

17 "He that killeth any man, shall die for it, 18 but he that killeth a beast shall pay for it, beast for beast. 19 If a man maim his neighbour, as he hath done, so shall it be done to him again: 20 broke for broke, eye for eye and tooth for tooth: even as he hath maimed a man, so shall he be maimed again. 21 So now he that killeth a beast shall pay for it: but he that killeth a man, shall die for it. 22 Ye shall have one manner of law among you: even for the stranger as well as for one of yourselves, for I am the LORD your God."

23 And Moses told the children of Israel, that they should bring him that had cursed, out of the host, and stone him with stones. And the children of Israel did as the LORD commanded Moses.