Valmiki Ramayana Kishkindha Kanda Sarga 12 Shloka 7
Original Shlokaइदं चोवाच धर्मज्ञं कर्मणा तेन हर्षितः। रामं सर्वास्त्रविदुषां श्रेष्ठं शूरमवस्थितम्4.12.7।।
1 source checked for this shloka
तेन by that, कर्मणा by the deed, हर्षितः he felt glad, धर्मज्ञम् the knower of dharma, सर्वास्त्रविदुषाम् among the proficient in the use of arms, श्रेष्ठं the best one, शूरम् valiant, अवस्थितम् who stood there, रामम् at Rama, इदम् this, उवाच च and spoke.
Sugriva who stood by, elated to watch the deed of Rama, best among the valiant, proficient in the use of arms of all kinds and knower of dharma, said: