Srimad-Bhagavatam: Canto 3 - Chapter 1 - Verse 30
Sanskrit:
चराचरौको भगवन्महीध्र-महीन्द्रबन्धुं सलिलोपगूढम् ।किरीटसाहस्रहिरण्यशृङ्ग-माविर्भवत्कौस्तुभरत्नगर्भम् ॥ ३० ॥
ITRANS:
carācarauko bhagavan-mahīdhramahīndra-bandhuṁ salilopagūḍhamkirīṭa-sāhasra-hiraṇya-śṛṅgamāvirbhavat kaustubha-ratna-garbham
Translation:
Like a great mountain, the Lord stands as the abode for all moving and nonmoving living entities. He is the friend of the snakes because Lord Ananta is His friend. As a mountain has thousands of golden peaks, so the Lord was seen with the thousands of golden-helmeted hoods of Ananta-nāga; and as a mountain is sometimes filled with jewels, so also His transcendental body was fully decorated with valuable jewels. As a mountains is sometimes submerged in the ocean water, so the Lord is sometimes submerged in the water of devastation.