Śrīmad-Bhāgavatam · Text 9.11.36
Who is speaking and story frame
बुभुजे च यथाकालं कामान् धर्ममपीडयन् ।
वर्षपूगान् बहून् नृणामभिध्याताङ्घ्रिपल्लव: ॥ ३६ ॥
bubhuje ca yathā-kālaṁ
kāmān dharmam apīḍayan
varṣa-pūgān bahūn nṝṇām
abhidhyātāṅghri-pallavaḥ
Without transgressing the religious principles, Lord Rāmacandra, whose lotus feet are worshiped by devotees in meditation, enjoyed with all the paraphernalia of transcendental pleasure for as long as needed.
Read Śrīla Prabhupāda's purport on Vedabase.io