Valmiki Ramayana Ayodhya Kanda Sarga 33 Shloka 17
Original Shlokaउद्यानानि परित्यज्य क्षेत्राणि च गृहाणि च। एकदुःखसुखा राममनुगच्छाम धार्मिकम्।।2.33.17।।
1 source checked for this shloka
उद्यानानि gardens, क्षेत्राणि fields, गृहाणि च houses also, परित्यज्य deserting, एक दुःखसुखाः experiencing the same joy and sorrow (as Rama), धार्मिकम् virtuous, रामम् Rama, अनुगच्छामः shall follow.
Deserting our gardens, fields and houses and experiencing the same joy and sorrow of the virtuous Rama, we shall follow him.