One verse

Srimad Bhagavatam 10.1.41

10.1.41

स्वप्ने यथा पश्यति देहमीद‍ृशंमनोरथेनाभिनिविष्टचेतन: । द‍ृष्टश्रुताभ्यां मनसानुचिन्तयन्प्रपद्यते तत् किमपि ह्यपस्मृति: ॥ ४१ ॥

svapne yathā paśyati deham īdṛśaṁ manorathenābhiniviṣṭa-cetanaḥ dṛṣṭa-śrutābhyāṁ manasānucintayan prapadyate tat kim api hy apasmṛtiḥ

svapne
in a dream
yathā
as
paśyati
one sees
deham
the kind of body
īdṛśam
similarly
manorathena
by mental speculation
abhiniviṣṭa
is fully absorbed
cetanaḥ
he whose consciousness
dṛṣṭa
by whatever has been experienced by seeing with the eyes
śrutābhyām
and by hearing a description of something else
manasā
by the mind
anucintayan
thinking, feeling and willing
prapadyate
surrenders
tat
to that situation
kim api
what to speak of
hi
indeed
apasmṛtiḥ
experiencing forgetfulness of the present body

Having experienced a situation by seeing or hearing about it, one contemplates and speculates about that situation, and thus one surrenders to it, not considering his present body. Similarly, by mental adjustments one dreams at night of living under different circumstances, in different bodies, and forgets his actual position. Under this same process, one gives up his present body and accepts another [tathā dehāntara-prāptiḥ].