Deuteronomy 13:1-3
Deut 13:1-3 (NIV) If a prophet, or one who foretells by dreams, appears among you and announces to you a miraculous sign or wonder, 2 and if the sign or wonder of which he has spoken takes place, and he says, "Let us follow other gods" (gods you have not known) "and let us worship them," 3 you must not listen to the words of that prophet or dreamer. The LORD your God is testing you to find out whether you love him with all your heart and with all your soul.