Valmiki Ramayana Kishkindha Kanda Sarga 18 Shloka 50
Original Shlokaमामप्यगतधर्माणं व्यतिक्रान्तपुरस्कृतम्। धर्मसंहितया वाचा धर्मज्ञ परिपालय4.18.50।।
1 source checked for this shloka
धर्मज्ञ knower of dharma, अगतधर्माणं did not follow dharma, अवगतम् in the past, व्यतिक्रान्तपुरस्कृतम् violated the bounds of dharma in the past, मामपि and me too, धर्मसंहितया in a righteous manner, वाचा word, परिपालय protect.
'O knower of dharma, I did not follow dharma in the past. I have trangressed the bounds of dharma. Say, you have pardoned me, protect me in a righteous manner.