Valmiki Ramayana Ayodhya Kanda Sarga 112 Shloka 7
Original Shlokaएतावदुक्त्वा वचनं गन्धर्वा: समहर्षयः। राजर्षयश्चैव तदा सर्वे स्वां स्वां गतिं गताः।।2.112.7।।
1 source checked for this shloka
तदा then, समहर्षयः with great rishis, गन्धर्वाः gandharvas, राजर्षयश्चैव and royal sages, एतावत् upto this extent, वचनम् word, उक्त्वा having spoken, सर्वे all, स्वां स्वाम् to their respective, गतिम् abode, गताः went.
Then the great rishis, gandharvas and royal sages having said this, returned to their respective abodes.