Valmiki Ramayana Yuddha Kanda Sarga 114 Shloka 76
Original Shlokaसुहृदांहितकामानां न श्रुतंवचनंत्वया । भ्रात्रूणांचैवकार्त्न्सनहितमुक्तंदशानन ।।6.114.76।।
1 source checked for this shloka
दशानन ten headed, त्वया you, हितकामानाम् wishing you goodसुहृदाम् friends, वचनम् words, न श्रुतम् not heeded, भ्रात्रूणां च even by brothers, उक्तम् spoken, हितम् good words, कार्त्स्नन in totality, न not
"O Ten headed king! You did not heed the good words of advice given by your friends. You did not totally heed the good words spoken by your brothers."