Mandukya Karika 2.4
Sanskrit Verse
अन्तःस्थानात्तु भेदानां तस्माज्जागरिते स्मृतम् ।
यथा तत्र तथा स्वप्ने संवृतत्वेन भिद्यते ॥ ४ ॥
Transliteration
antaḥsthānāttu bhedānāṃ tasmājjāgarite smṛtam |
yathā tatra tathā svapne saṃvṛtatvena bhidyate || 4 ||
Translation
Different objects cognized in dream (are illusory) on account of their being perceived to exist. For the same reason, the objects seen in the waking state are illusory. The nature of objects is the same in the waking state and dream. The only difference is the limitation of space (associated with dream objects).

Muni's Play