Deuteronomy 18:20 NIV

20 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.”

References for Deuteronomy 18:20