Valmiki Ramayana Sundara Kanda Sarga 2 Shloka 32
Original Shlokaततः स चिन्तयामास मुहूर्तं कपिकुञ्जरः। गिरिशृङ्गे स्थितस्तस्मिन् रामस्याभ्युदये रतः।।5.2.32।।
1 source checked for this shloka
ततः then, रामस्य Rama's, अभ्युदये in his welfare, रतः lay, सः that, कपिकुञ्जरः elephant among vanaras, तस्मिन् on that, गिरिशृङ्गे on the mountain peak, स्थितः stood, मुहूर्तम् for a short while, चिन्तयामास pondered.
Standing on the mountain, the elephant among monkeys pondered for a while on the means of finding Sita, in which lay the welfare of Rama.