Deuteronomy 18:20

New International Reader's Version Bible (NIRV)
But suppose a prophet dares to speak in my name something I have not commanded. Or he speaks in the name of other gods. Then that prophet must be put to death.”

Read Deuteronomy 18:20 in other translations