Leviticus 24:15-16
15
You shall speak to the children of Israel, saying, 'Whoever curses his God shall bear his sin.
16
He who blasphemes the name of Yahweh, he shall surely be put to death; all the congregation shall certainly stone him: the foreigner as well as the native-born, when he blasphemes the name, shall be put to death.