Valmiki Ramayana Ayodhya Kanda Sarga 40 Shloka 2
Original Shlokaतं चापि समनुज्ञाप्य धर्मज्ञस्सीतया सह। राघव श्शोकसम्मूढो जननीमभ्यवादयत्।।2.40.2।।
1 source checked for this shloka
धर्मज्ञः knower of duty, राघवः Rama, सीतया सह along with Sita, तम् (to him), समनुज्ञाप्य after taking leave of, शोकसम्मूढः griefstricken, जननीम् to mother, अभ्यवादयत् paid obeisance.
Taking leave of Dasaratha, the righteous descendant of the Raghus (Rama) along with Sita paid obeisance to his mother Kausalya who was afflicted with deep grief.