We gave David and Solomon knowledge; and they said: "All praise be to God who has favoured us over many of His creatures who believe." 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 Hosts of jinn and humans and birds were marshalled for Solomon and were kept under full control. 17 Till, when they reached the Valley of the Ants, an ant exclaimed: O ants! Enter your dwellings lest Solomon and his armies crush you, unperceiving. 18 Smiling at the ant's utterance, Solomon burst into laughter and said: "My Lord! Hold me under (Your) control that I may render thanks for the favour which You have bestowed on me and on my parents, and that I may act righteously in a manner that would please You. Include me, out of Your Mercy, among Your righteous servants." 19 (Solomon) inspected the birds and said, "How is it that I cannot see the hoopoe. Is he absent? 20 I will surely punish him with a severe punishment or slaughter him unless he brings me clear authorization." 21 But he was not long in coming, and he said: I have found out (a thing) that thou apprehendest not, and I come unto thee from Sheba with sure tidings. 22 I found a woman ruling over them, and she has been given of everything, and she possesses a mighty throne. 23 But she and her people prostrate to the sun instead of Allah. And satan has made their deeds seem pleasing to them and barred them from the Path, and therefore they are not guided. 24 [And] so they do not prostrate to Allah, who brings forth what is hidden within the heavens and the earth and knows what you conceal and what you declare - 25 Allah, there is no god but He: He is the Lord of mighty power. ۩ 26 ۞ He said: We will see whether you have told the truth or whether you are of the liars: 27 Take this my letter and hand it over to them, then turn away from them and see what (answer) they return. 28 She said: "O chiefs! Verily! Here is delivered to me a noble letter, 29 "Verily! It is from Sulaiman (Solomon), and verily! It (reads): In the Name of Allah, the Most Beneficent, the Most Merciful; 30 Be not haughty with me but come to me in submission [as Muslims].' " 31