We bestowed knowledge on David and Solomon and they both said, "Praise be to God who has exalted us above many of His believing servants." 15 And Solomon inherited David. He said, "O people, we have been taught the language of birds, and we have been given from all things. Indeed, this is evident bounty." 16 And before Solomon were marshalled his hosts,- of Jinns and men and birds, and they were all kept in order and ranks. 17 till, when they came upon a valley [full] of ants, an ant exclaimed: "O you ants! Get into your dwellings, lest Solomon and his hosts crush you without [even] being aware [of you]!" 18 (Solomon) smiled at the ant's remarks and said, "Lord, inspire me to thank you for Your favors to me and my parents and to act righteously so as to please you. Admit me, by your mercy into the company of Your righteous servants". 19 (On another occasion) Solomon inspected the birds and said: "Why is it that I do not see the hoopoe? Is he among the absentees? 20 Surely, I will punish him with a terrible punishment, or I will slaughter him or he gives me a good reason' 21 But the Hoopoe tarried not far: he (came up and) said: "I have compassed (territory) which thou hast not compassed, and I have come to thee from Saba with tidings true. 22 I found a woman ruling over them, who has been given everything and she has a mighty throne. 23 "I found her and her people worshipping the sun besides Allah: Satan has made their deeds seem pleasing in their eyes, and has kept them away from the Path,- so they receive no guidance,- 24 “Why do they not prostrate to Allah, Who brings forth the things hidden in the heavens and the earth, and knows all what you hide and all what you disclose?” 25 He is God: there is no deity but He, the Lord of the mighty throne." ۩ 26 ۞ Said he, 'Now We will see whether thou hast spoken truly, or whether thou art amongst those that lie. 27 Take this letter of mine and deliver it to them, then return and see what their reply will be." 28 She said, "O eminent ones, indeed, to me has been delivered a noble letter. 29 Behold, it is from Solomon, and it says, 'In the name of God, the Most Gracious, the Dispenser of Grace: 30 Do not rise against me, but come to me in submission.' 31