Leviticus 24:11

24:11 The Israelite woman’s son misused the Name and cursed, so they brought him to Moses. (Now his mother’s name was Shelomith daughter of Dibri, of the tribe of Dan.)

Leviticus 24:15-16

24:15 Moreover, you are to tell the Israelites, ‘If any man curses his God he will bear responsibility for his sin, 24:16 and one who misuses the name of the Lord must surely be put to death. The whole congregation must surely stone him, whether he is a foreigner or a native citizen; when he misuses the Name he must be put to death.