And We had certainly given to David and Solomon knowledge, and they said, "Praise [is due] to Allah, who has favored us over many of His believing servants." 15 And Sulaiman was Dawood's heir, and he said: O men! we have been taught the language of birds, and we have been given all things; most surely this is manifest grace. 16 And before Solomon were marshalled his hosts,- of Jinns and men and birds, and they were all kept in order and ranks. 17 (Solomon was once on the move with them) until when they reached a valley of ants one of the ants said: "O ants, get into your holes, lest Solomon and his hosts crush you (under their feet) without even knowing." 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 He reviewed the birds and said: 'Why is it that I do not see the hoopoe here? Or is he among the absent? 20 [If so,] I will punish him most severely or will kill him unless he bring me a convincing excuse!" 21 But the hoopoe stayed not long and said, "I have encompassed [in knowledge] that which you have not encompassed, and I have come to you from Sheba with certain news. 22 I found a woman reigning over them, and she has been favoured with everything; and she has a throne that is magnificent. 23 "I found her and her people worshipping the sun instead of Allah, and Shaitan (Satan) has made their deeds fair-seeming to them, and has barred them from (Allah's) Way, so they have no guidance," 24 (Satan has done this) so that they will not worship God who brings forth whatever is hidden in the heavens and the earth and knows whatever you conceal or reveal. 25 Allah! there is no God but he, the Lord of the Magnificent Throne. ۩ 26 ۞ Said Sulaiman, “We shall now see whether you spoke the truth or are among 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 The Queen of Sheba said, "O Counsellors, an honourable letter has been delivered to me. 29 Behold, it is from Solomon, and it says, 'In the name of God, the Most Gracious, the Dispenser of Grace: 30 (It says): "Do not act towards me with defiance, but come to me in submission." 31