Valmiki Ramayana Sundara Kanda Sarga 13 Shloka 61
Original Shlokaस गत्वा मनसा पूर्वमशोकवनिकां शुभाम्। उत्तरं चिन्तयामास वानरो मारुतात्मजः।।5.13.61।।
1 source checked for this shloka
मारुतात्मजः Hanuman, सः वानरः the vanara, मनसा in his mind, पूर्वम् earlier, शुभाम् auspicious, अशोकवनिकाम् grove of Ashoka, गत्वा after going, उत्तरम् again, चिन्तयामास started thinking.
Hanuman started thinking again about his task after reaching the auspicious Ashoka grove.