And We gave David and Solomon knowledge and they said, 'Praise belongs to God who has preferred us over many of His believing servants.' 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 Hosts of jinn and humans and birds were marshalled for Solomon and were kept under full control. 17 Until when they came unto the valley of the ants, an ant said: O ants! enter your habitations lest Sulaiman and his hosts crush you while they perceive not. 18 Solomon smiled broadly at its words and said, "Lord, inspire me to be thankful for the blessings You have granted me and my parents, and to do good deeds that please You; and include me, by Your grace, among 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 I shall surely punish him severely or order him to be executed, unless he gives me a good reason for his absence." 21 Not before long the hoopoe came up and said: "I have obtained a knowledge which you could not. I have brought for you sure news about Sheba. 22 I found a woman ruling the people there and she possessed something of (almost) everything and a great 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 God: there is no god but He, the Lord of the Mighty Throne.' ۩ 26 ۞ He replied: 'We shall see if what you have said is true or whether you are among those who lie. 27 Take this letter of mine, and cast it unto them, then turn back from them and see what they shall return ' 28 She said, "O eminent ones, indeed, to me has been delivered a noble letter. 29 It is from Solomon and it is "In the Name of Allah, the Merciful, the Most Merciful. 30 Be not haughty with me but come to me in submission [as Muslims].' " 31