Leviticus 24:11-16New Revised Standard Version (NRSV)
11 The Israelite woman’s son blasphemed the Name in a curse. And they brought him to Moses—now his mother’s name was Shelomith, daughter of Dibri, of the tribe of Dan— 12 and they put him in custody, until the decision of the Lord should be made clear to them.
13 The Lord said to Moses, saying: 14 Take the blasphemer outside the camp; and let all who were within hearing lay their hands on his head, and let the whole congregation stone him. 15 And speak to the people of Israel, saying: Anyone who curses God shall bear the sin. 16 One who blasphemes the name of the Lord shall be put to death; the whole congregation shall stone the blasphemer. Aliens as well as citizens, when they blaspheme the Name, shall be put to death.