Valmiki Ramayana Bala Kanda Sarga 44 Shloka 16
Original Shlokaइत्येवमुक्त्वा देवेश: सर्वलोकपितामह:। यथाऽऽगतं तथाऽगच्छत् देवलोकं महायशा:।।1.44.16।।
1 source checked for this shloka
सर्वलोकपितामह: Grandsire of all the worlds, महायशा: highly renowned, देवेश: lord of the gods, इत्येवम् in this manner, उक्त्वा having spoken, यथाऽऽगतं तथा the way he came, देवलोकम् to heaven, अगच्छत् returned.
"The Grandsire of all the worlds, highly renowned lord of the gods, having Said this, returned to heaven the way he had come.