Deuteronomy 13:3 NIV

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.

References for Deuteronomy 13:3