Deuteronomy 13:5 NIV

5 That prophet or dreamer must be put to death for inciting rebellion against the LORD your God, who brought you out of Egypt and redeemed you from the land of slavery. That prophet or dreamer tried to turn you from the way the LORD your God commanded you to follow. You must purge the evil from among you.

References for Deuteronomy 13:5