Valmiki Ramayana Sundara Kanda Sarga 2 Shloka 48
Original Shlokaइति सञ्चिन्त्य हनुमान् सूर्यस्यास्तमयं कपिः। आचकाङ्क्षे तदा वीरो वैदेह्या दर्शनोत्सुकः।।5.2.48।।
1 source checked for this shloka
वीरः कपिः heroic vanara, हनुमान् Hanuman, इति thus, सञ्चिन्त्य after thinking, वैदेह्याः Vaidehi's, दर्शनोत्सुकः keen to see, तदा then, सूर्यस्य Sun's, अस्तमयम् setting time, आचकाङ्क्षे looked forward.
Having planned in that manner the heroic Hanuman keen to see Sita waited for the Sunset.