One verse

Srimad Bhagavatam 10.54.48

10.54.48

यथा शयान आत्मानं विषयान् फलमेव च । अनुभुङ्क्ते ऽप्यसत्यर्थे तथाप्नोत्यबुधो भवम् ॥ ४८ ॥

yathā śayāna ātmānaṁ viṣayān phalam eva ca anubhuṅkte ’py asaty arthe tathāpnoty abudho bhavam

yathā
as
śayānaḥ
a sleeping person
ātmānam
himself
viṣayān
sense objects
phalam
the fruits
eva
indeed
ca
also
anubhuṅkte
experiences
api
even
asati arthe
in that which is not real
tathā
so
āpnoti
undergoes
abudhaḥ
the unintelligent
bhavam
material existence

As a sleeping person perceives himself, the objects of sense enjoyment and the fruits of his acts within the illusion of a dream, so one who is unintelligent undergoes material existence.