Valmiki Ramayana Bala Kanda Sarga 60 Shloka 32
Original Shlokaअनुयास्यन्ति चैतानि ज्योतींषि नृपसत्तमम्।।1.60.32।। कृतार्थं कीर्तिमन्तं च स्वर्गलोकगतं यथा।
1 source checked for this shloka
एतानि ज्योतींषि these stars, कृतार्थम् having gained his object, कीर्तिमन्तं च illustrious, नृपसत्तमम् best of kings, स्वर्गलोकगतं यथा as if he had attained heaven, अनुयास्यन्ति will follow.
These stars will follow this illustrious one (Trisanku), the best of kings who gained his object, as if he had attained heaven.