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 Solomon was heir to David, and he said: "O people, we have been taught the language of Tair, and have been given of everything. This is a clear favour indeed." 16 Solomon's hosts of jinn and men and birds, were all gathered together in his presence and were ranged in battle order, 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 He smiled, and laughed at its words, and said: 'My Lord, inspire me that I should be thankful for Your blessing with which You have blessed me and my parents, and that I may do good works that will please You. Admit me, by Your Mercy, among Your righteous worshipers' 19 Then Solomon inspected the birds, and said, "How is it that I do not see the hoopoe? Is he absent then? 20 I shall surely punish him severely or order him to be executed, unless he gives me a good reason for his absence." 21 But [the hoopoe] tarried but a short while; and [when it came] it said: "I have encompassed [with my knowledge] something that thou hast never yet encompassed [with thine] - for I have come to thee from Sheba with a tiding sure! 22 I found a woman ruling over them, who has been given everything and she has 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 Should they not worship God who brings forth what is hidden in the heavens and earth and knows both what you conceal and what you make known? 25 "Allah!- there is no god but He!- Lord of the Throne Supreme!" ۩ 26 ۞ (Solomon) said: 'We shall see if you speak the truth or you are a liar. 27 Take this letter of mine and deliver it to them. Then leave them and see what [answer] they will return." 28 (The Queen said): "O nobles, a venerable letter has been delivered to me. 29 Lo! it is from Solomon, and lo! it is: In the name of Allah, the Beneficent, the Merciful; 30 "'Be ye not arrogant against me, but come to me in submission (to the true Religion).'" 31