Leviticus 24:17-23 - An Eye For An Eye
17 And he who smites any man mortally shall surely be put to death. 18 And he who smites a beast mortally shall make it good, life for life. 19 And if a man causes a blemish in his neighbor, as he has done, so shall it be done to him: 20 injury for injury, eye for eye, tooth for tooth, as he has caused a blemish in a man, so shall it be rendered to him. 21 And he who kills a beast shall make it good. And he who kills a man shall be put to death. 22 Ye shall have one manner of law, as for the sojourner, as for the home-born, for I am LORD your God.
23 And Moses spoke to the sons of Israel, and they brought forth him who had cursed out of the camp, and stoned him with stones. And the sons of Israel did as LORD commanded Moses.