Valmiki Ramayana Yuddha Kanda Sarga 22 Shloka 16
Original Shlokaतंतदासमतिक्रान्तंनातिचक्रामराघवः । समुद्धतममित्रघ्नोरामोनदनदीपतिम् ।।6.22.16।।
1 source checked for this shloka
राघवः Rama, अमित्रघ्नः destroyer of foes, रामः Rama, तदा then, समतिक्रान्तम् transgressing, समुद्धतम् overweening, तम् them, नदनदीपतिम् Lord of rivers, नातिचक्राम not go far.
Rama the destroyer of foes did not attempt at the ocean that went far from the boundary, which was transgressing and overweening.