Surah An-Naml 27:17
وَحُشِرَ لِسُلَيْمَـٰنَ جُنُودُهُۥ مِنَ ٱلْجِنِّ وَٱلْإِنسِ وَٱلطَّيْرِ فَهُمْ يُوزَعُونَ
And gathered for Solomon were his soldiers of the jinn and men and birds, and they were [marching] in rows
Translation: Saheeh International
Tafsir
And on one journey Solomon’s hosts of jinn and humans and birds stood assembled for him as they were being arrayed brought together in groups and marshalled.
Excerpt from Tafsir al-Jalalayn, commentary on 27:17, via Quran.com. The reader has the full commentary and 9 more tafsirs.