Valmiki Ramayana Kishkindha Kanda Sarga 27 Shloka 4
Original Shlokaतस्य शैलस्य शिखरे महतीमायतां गुहाम्। प्रत्यगृह्णत वासार्थं रामस्सौमित्रिणा सह4.27.4।।
1 source checked for this shloka
रामः Rama, सौमित्रिणा सह with Saumitri, तस्य शैलस्य mountain's, शिखरे on the top, महतीम् great long, आयताम् wide, गुहाम् cave, वासार्थम् to reside, प्रत्यगृह्णत decided to reside.
Rama and Lakshmana decided to reside in the long, wide cave on top of the great mountain.