Śrīmad-Bhāgavatam · Text 3.32.4
Who is speaking and story frame
यदा चाहीन्द्रशय्यायां शेतेऽनन्तासनो हरि: ।
तदा लोका लयं यान्ति त एते गृहमेधिनाम् ॥ ४ ॥
yadā cāhīndra-śayyāyāṁ
śete ’nantāsano hariḥ
tadā lokā layaṁ yānti
ta ete gṛha-medhinām
All the planets of the materialistic persons, including all the heavenly planets, such as the moon, are vanquished when the Supreme Personality of Godhead, Hari, goes to His bed of serpents, which is known as Ananta Śeṣa.
Read Śrīla Prabhupāda's purport on Vedabase.io