Valmiki Ramayana Sundara Kanda Sarga 64 Shloka 30
Original Shlokaहनूमति हि सिद्धिश्च मतिश्च मतिसत्तमः।।5.64.30।। व्यवसायश्च वीर्यं च सूर्ये तेज इव ध्रुवम्।
1 source checked for this shloka
मतिसत्तम best one among the wise, हनूमति Hanuman, सूर्ये Sun, तेजः इव like the luminosity, सिद्धिश्च capacity to succeed, मतिश्च intelligence, व्यवसायश्च effort, वीर्यं च and even courage, ध्रुवम् steadfast.
"O Rama, the best among the wise just like the luminosity that abides in the Sun, capacity to succeed, energy, intelligence, even courage and steadfastness reside in Hanuman.