Śrīmad-Bhāgavatam · Text 4.8.72
Who is speaking and story frame
त्रिरात्रान्ते त्रिरात्रान्ते कपित्थबदराशन: ।
आत्मवृत्त्यनुसारेण मासं निन्येऽर्चयन्हरिम् ॥ ७२ ॥
tri-rātrānte tri-rātrānte
kapittha-badarāśanaḥ
ātma-vṛtty-anusāreṇa
māsaṁ ninye ’rcayan harim
For the first month Dhruva Mahārāja ate only fruits and berries on every third day, only to keep his body and soul together, and in this way he progressed in his worship of the Supreme Personality of Godhead.
Read Śrīla Prabhupāda's purport on Vedabase.io