Valmiki Ramayana Sundara Kanda Sarga 14 Shloka 1
Original Shlokaस मुहूर्तमिव ध्यात्वा मनसा चाधिगम्य ताम्। अवप्लुतो महातेजाः प्राकारं तस्य वेश्मनः।।5.14.1।।
1 source checked for this shloka
महातेजा mighty, सः that (Hanuman), मुहूर्तमिव for a short while, ध्यात्वे lost in thought, ताम् her, मनसा in the mind, अधिगम्य reached, तस्य वेश्मनः of that palace, प्राकारम् boundary, अवप्लुतः jumped.
Mighty Hanuman lost in thought for a moment, jumped down (the harem) to the boundary wall of the palace. Hanuman ascends the simsupa tree in the Ashoka grove and watches.