Śrīmad-Bhāgavatam · Text 4.25.2
Who is speaking and story frame
रुद्रगीतं भगवत: स्तोत्रं सर्वे प्रचेतस: ।
जपन्तस्ते तपस्तेपुर्वर्षाणामयुतं जले ॥ २ ॥
rudra-gītaṁ bhagavataḥ
stotraṁ sarve pracetasaḥ
japantas te tapas tepur
varṣāṇām ayutaṁ jale
All the Pracetā princes simply stood in the water for ten thousand years and recited the prayers given to them by Lord Śiva.
Read Śrīla Prabhupāda's purport on Vedabase.io