Valmiki Ramayana Ayodhya Kanda Sarga 34 Shloka 12
Original Shlokaएवमुक्ताः स्त्रिय स्सर्वाः सुमन्त्रेण नृपाज्ञया। प्रचक्रमु स्तद्भवनं भर्तुराज्ञाय शासनम्।।2.34.12।।
1 source checked for this shloka
नृपाज्ञया by king's order, सुमन्त्रेण by Sumantra, एवम् in this way, उक्ताः spoken, सर्वाः all, स्त्रियः ladies, भर्तुः husband's, शासनम् command, आज्ञाय having known, तद्भवनम् to the palace, प्रचक्रमुः went.
Thus addressed by Sumantra in accordance with the king's order, all the women went to their husband's palace.