Valmiki Ramayana Bala Kanda Sarga 63 Shloka 15
Original Shlokaतस्य वर्षसहस्रं तु घोरं तप उपासत:। उत्तरे पर्वते राम देवतानामभूद्भयम्।।1.63.15।।
1 source checked for this shloka
राम O Rama, तस्य for him, उत्तरे पर्वते on the northern mountains, वर्षसहस्रम् a thousand years, घोरम् fearful, तप: penance, उपासत: while performing, देवतानाम् to devatas, भयम् अभूत् fear arose.
O Rama while he was performing rigorous penance for a thousand years on the northern mountains, the gods were gripped with fear. (lest he should exceed them).