Lev 24:15-16

15And speak to the people of Israel, saying: Anyone who curses God shall bear the sin.16One 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.