Leviticus 24:17-23 - An Eye For An Eye
17 And anyone who takes another's life is certainly to be put to death. 18 And anyone wounding a beast and causing its death, will have to make payment for it: a life for a life. 19 And if a man does damage to his neighbour, as he has done, so let it be done to him; 20 Wound for wound, eye for eye, tooth for tooth; whatever damage he has done, so let it be done to him. 21 He who puts a beast to death will have to make payment for it; he who puts a man to death will himself be put to death. 22 You are to have the same law for a man of another nation living among you as for an Israelite; for I am the Lord your God.
23 And Moses said these words to the children of Israel, and they took the man who had been cursing outside the tent-circle and had him stoned. The children of Israel did as the Lord gave orders to Moses.