Anyone who blasphemes the name of Yahweh is to be put to death; the whole community is to stone him. Whether foreigner or native-born, if he blasphemes the Name, he is to be put to death.
In context
14“Take the one who cursed outside the camp. All who heard him are to lay their hands on his head, and the whole community is to stone him. 15Tell the Israelites: Anyone who curses his God will bear the guilt for it. 16Anyone who blasphemes the name of Yahweh is to be put to death; the whole community is to stone him. Whether foreigner or native-born, if he blasphemes the Name, he is to be put to death. 17Anyone who takes a human life is to be put to death. 18Anyone who takes the life of an animal is to make restitution for it — life for life.