Valmiki Ramayana Ayodhya Kanda Sarga 16 Shloka 34
Original Shlokaततो हयवरा मुख्या नागाश्च गिरिसन्निभाः।।2.16.34।। अनुजग्मुस्तदा रामं शतशोऽथ सहस्रशः।
1 source checked for this shloka
ततः afterwards, मुख्याः chiefs, हयवराः excellent horses, गिरिसन्निभाः resembling hills in size, नागाश्च elephants, शतशः in hundreds, सहस्रशः in thousands, तदा then, रामम् Rama, अनुजग्मुः followed.
Then the chief commanders riding the best of the horses and elephants, resembling hills in size, followed Rama in their hundreds and thousands.