Leviticus 24:12-22

12 And they put him in ward that the mind of the LORD might be showed them.
13 And the LORD spoke unto Moses, saying,
14 Bring forth the one that has blasphemed outside 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 sons of Israel, saying, The man that speaks evil of his God shall bear his sin.
16 And he that pronounces the name of the LORD shall surely be put to death; all the congregation shall certainly stone him; the same with the stranger as with the natural, if he pronounces the Name, he shall be put to death.
17 Likewise he that kills any man shall surely be put to death.
18 And he that kills an animal shall make it good: animal for animal.
19 And if a man causes a blemish in his neighbour; as he has done, so shall it be done to him;
20 breach for breach, eye for eye, tooth for tooth: as he has caused a blemish in a man, so shall it be done to him again.
21 He that kills an animal shall restore it, but he that kills a man shall be put to death.
22 Ye shall have one manner of law: as for the stranger, so shall it be for the natural; for I am the LORD your God.