The three states of intelligence are called waking consciousness, sleep and deep sleep. But, my dear King, the variegated experiences created for the pure living entity by these different states are nothing more than illusion.
Srimad Bhagavata Purana
श्रीमद्भागवतमहापुराणम्
मूल श्लोकः
बुद्धेर्जागरणं स्वप्नः सुषुप्तिरिति चोच्यते । मायामात्रमिदं राजन् नानात्वं प्रत्यगात्मनि
buddherjāgaraṇaṃ svapnaḥ suṣuptiriti cocyate | māyāmātramidaṃ rājan nānātvaṃ pratyagātmani
SB 12.4.25