Ants
His armies of jinn, humans, and birds were assembled before him, kept in perfect ranks.
27:17And there were gathered together unto Solomon his armies of the jinn and humankind, and of the birds, and they were set in battle order;
Until they reached the Valley of the Ants, and an ant said, “O ants, enter your homes, lest Solomon and his troops crush you unknowingly.”
27:18Till, when they reached the Valley of the Ants, an ant exclaimed: O ants! Enter your dwellings lest Solomon and his armies crush you, unperceiving.
He smiled, amused by her words, and said, “My Lord, inspire me to be grateful for Your blessings upon my parents and me, and to do righteous deeds that please You. And admit me, by Your mercy, among Your righteous servants.”
27:19And (Solomon) smiled, laughing at her speech, and said: My Lord, arouse me to be thankful for Thy favour wherewith Thou hast favoured me and my parents, and to do good that shall be pleasing unto Thee, and include me in (the number of) Thy righteous slaves.