Leviticus 24:12-22

12 And they put him in ward, that it might be declared unto them at the mouth of Jehovah.
13 And Jehovah spake unto Moses, saying,
14 Bring forth him that hath cursed without the camp; and let all that heard him lay their hands upon his head, and let all the congregation stone him.
15 And thou shalt speak unto the children of Israel, saying, Whosoever curseth his God shall bear his sin.
16 And he that blasphemeth the name of Jehovah, he shall surely be put to death; all the congregation shall certainly stone him: as well the sojourner, as the home-born, when he blasphemeth the name [of Jehovah], shall be put to death.
17 And he that smiteth any man mortally shall surely be put to death.
18 And he that smiteth a beast mortally shall make it good, life for life.
19 And if a man cause a blemish in his neighbor; as he hath done, so shall it be done to him:
20 breach for breach, eye for eye, tooth for tooth; as he hath caused a blemish in a man, so shall it be rendered unto him.
21 And he that killeth a beast shall make it good: and he that killeth a man shall be put to death.
22 Ye shall have one manner of law, as well for the sojourner, as for the home-born: for I am Jehovah your God.
The American Standard Version is in the public domain.