Valmiki Ramayana Kishkindha Kanda Sarga 18 Shloka 54
Original Shlokaसुग्रीवे चाङ्गदे चैव विधत्स्व मतिमुत्तमाम्। त्वं हि शास्ता च गोप्ता च कार्याकार्यविधौ स्थितः4.18.54।।
1 source checked for this shloka
सुग्रीवे at Sugriva, आङ्गदे चैव and at Angada, उत्तमाम् great, मतिम् in mind, विधत्स्व you may show, कार्याकार्यविधौ with regard to what should and should not be done, स्थितः sure, त्वम् you, गोप्ता च protector and, शास्ता च also punisher.
'Shower equal affection from your heart on Sugriva and Angada. You are their protector and punisher also. You know what should and should not be done.