Leviticus 24:16 in the King James Version
And he that blasphemeth the name of the LORD, he shall surely be put to death, and all the congregation shall certainly stone him: as well the stranger, as he that is born in the land, when he blasphemeth the name of the LORD, shall be put to death.
Context
15 You shall speak to the children of Israel, saying, ‘Whoever curses his God shall bear his sin.
16 He who blasphemes the LORD’s name, he shall surely be put to death. All the congregation shall certainly stone him. The foreigner as well as the native-born shall be put to death when he blasphemes the Name.
17 “‘He who strikes any man mortally shall surely be put to death.