Valmiki Ramayana Ayodhya Kanda Sarga 23 Shloka 25
Original Shlokaऊर्ध्वं वर्षसहस्रान्ते प्रजापाल्यमनन्तरम्। आर्यपुत्राः करिष्यन्ति वनवासं गते त्वयि।।2.23.25।।
1 source checked for this shloka
प्रजापाल्यमनन्तरं afte ruling the subjects, वर्ष सहस्रान्ते after a thousand years, त्वयि you, वनवासं गते after you have withdrawn to the forest, आर्यपुत्राः your sons, करिष्यन्ति will rule them.
When after ruling the subjects for a thousand years you withdraw into the forest (for yativrata) your sons will rule them.