One verse

Srimad Bhagavatam 9.11.36

9.11.36

बुभुजे च यथाकालं कामान् धर्ममपीडयन् । वर्षपूगान् बहून् नृणामभिध्याताङ्‌घ्रिपल्लव: ॥ ३६ ॥

bubhuje ca yatha-kalam kaman dharmam apidayan varsa-pugan bahun nrnam abhidhyatanghri-pallavah

bubhuje
He enjoyed
ca
also
yatha-kalam
as long as required
kaman
all enjoyment
dharmam
religious principles
apidayan
without transgressing
varsa-pugan
duration of years
bahun
many
nrnam
of the people in general
abhidhyata
being meditated upon
anghri-pallavah
His lotus feet.

Without transgressing the religious principles, Lord Ramacandra, whose lotus feet are worshiped by devotees in meditation, enjoyed with all the paraphernalia of transcendental pleasure for as long as needed.