Valmiki Ramayana Yuddha Kanda Sarga 131 Shloka 102
Original Shlokaआसन्वर्षसहस्राणितथापुत्रसहस्रिणः । निरामयाविशोकाश्चरामेराज्यंप्रशासति ।।6.131.102।।
1 source checked for this shloka
रामे while Rama, राज्यम् kingdom, प्रशासति ruling, वर्षसहस्राणि thousand years, तथा like that, पुत्रसहस्रिणः thousand sons, निरामयाः free from trouble, विशोकाश्च free from sorrow, वसन् lived
While Rama was ruling for thousands of years, people were blessed with thousands of sons and lived free from trouble and sorrow.