Śrīmad-Bhāgavatam · Text 3.8.12
Who is speaking and story frame
चतुर्युगानां च सहस्रमप्सु
स्वपन् स्वयोदीरितया स्वशक्त्या ।
कालाख्ययासादितकर्मतन्त्रो
लोकानपीतान्ददृशे स्वदेहे ॥ १२ ॥
catur-yugānāṁ ca sahasram apsu
svapan svayodīritayā sva-śaktyā
kālākhyayāsādita-karma-tantro
lokān apītān dadṛśe sva-dehe
The Lord lay down for a thousand cycles of four yugas in His internal potency, and by His external energy He appeared to be sleeping within the water. When the living entities were coming out for further development of their fruitive activities, actuated by the energy called kāla-śakti, He saw His transcendental body as bluish.
Read Śrīla Prabhupāda's purport on Vedabase.io