Valmiki Ramayana Ayodhya Kanda Sarga 11 Shloka 26
Original Shlokaनव प़ञ्च च वर्षाणि दण्डकारण्यमाश्रितः।।2.11.26।। चीराजिनजटाधारी रामो भवतु तापसः।
1 source checked for this shloka
रामः Rama, नव पञ्च च वर्षाणि for fourteen (nine and five) years, दण्डकारण्यम् Dandaka forest, आश्रितः resorted to, चीराजिनजटाधारी clad in tattered (bark) and deer skin and wearing matted locks, तापसः like an ascetic, भवतु shall remain (in the forest.)
Consigned to the Dandaka forest for fourteen years, clad in bark and deer skin and wearing matted hair, Rama shall live like an ascetic.