Deuteronomy 13:2-3 NIV

2 and if the sign1 or wonder of which he has spoken takes place, and he says, "Let us follow other gods"2 (gods you have not known) "and let us worship them,"

References for Deuteronomy 13:2

3 you must not listen to the words of that prophet3 or dreamer.4 The LORD your God is testing5 you to find out whether you love6 him with all your heart and with all your soul.

References for Deuteronomy 13:3