Valmiki Ramayana Yuddha Kanda Sarga 74 Shloka 62
Original Shlokaस तंसमीक्ष्यानलरश्मिदीप्तंविसिष्मियेवासवदूतसूनुः । आवृत्यतंचौषधिपर्वतेन्द्रंतत्रौषधीनांविचयंचकार ।।6.74.62।।
1 source checked for this shloka
सः he, अनलरश्मिदीप्तम् blazing like fire, तम् those, समीक्ष्य observed, विसिष्मिये astonished, ओषधिपर्वतेन्द्रम् mountain filled with herbs, आवृत्य going round, तत्र there, ओषधीनाम् names of herbs, विचयम् thinking, चकार went.
Observing the herbs blazing like fire, he was astonished at the herbs on the mountain and went round thinking of the names of herbs (asked by Jambavan).