Valmiki Ramayana Sundara Kanda Sarga 52 Shloka 16
Original Shlokaकथं च धर्मार्थविनीतबुद्धिः परावरप्रत्ययनिश्चितार्थः। भवद्विधः कोपवशे हि तिष्ठेत् कोपं नियच्छन्ति हि सत्त्ववन्तः।।5.52.16।।
1 source checked for this shloka
धर्मार्थविनीतबुद्धिः wellversed in dharma and artha, परावरप्रत्ययनिश्चितार्थः who decides about the good and bad, भवद्विधः learned one like you, कोपवशे charged with anger, कथम् how, तिष्ठेत् (are you) swayed, सत्त्ववन्तः courageous ones, कोपम् anger, नियच्छन्ति हि indeed control.
"You are wellversed in dharma and artha. Learned men first decide what is right or wrong (before imposing punishment). How are you swayed by unjust anger? Indeed courageous persons (like you) should control anger.