Deuteronomy 18:20

New International Version - UK Bible (NIVUK)
But a prophet who presumes to speak in my name anything I have not commanded, or a prophet who speaks in the name of other gods, is to be put to death.’

Read Deuteronomy 18:20 in other translations