Śrīmad-Bhāgavatam · Text 3.26.61
Who is speaking and story frame
मनसश्चन्द्रमा जातो बुद्धिर्बुद्धेर्गिरां पति: ।
अहङ्कारस्ततो रुद्रश्चित्तं चैत्यस्ततोऽभवत् ॥ ६१ ॥
manasaś candramā jāto
buddhir buddher girāṁ patiḥ
ahaṅkāras tato rudraś
cittaṁ caityas tato ’bhavat
After the mind, the moon appeared. Intelligence appeared next, and after intelligence, Lord Brahmā appeared. Then the false ego appeared and then Lord Śiva, and after the appearance of Lord Śiva came consciousness and the deity presiding over consciousness.
Read Śrīla Prabhupāda's purport on Vedabase.io