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 [in this insight] Solomon was [truly] David's heir; and he would say: "O you people! We have been taught the speech of birds, and have been given [in abundance] of all [good] things: this, behold, is indeed a manifest favour [from God]!" 16 Solomon's hosts of jinn and men and birds, were all gathered together in his presence and were ranged in battle order, 17 and when they came to the Valley of the Ants, an ant said: 'Ants, go into your dwellings lest Solomon and his army should, unknowingly, crush you' 18 And (Solomon) smiled, laughing at her speech, and said: My Lord, arouse me to be thankful for Thy favour wherewith Thou hast favoured me and my parents, and to do good that shall be pleasing unto Thee, and include me in (the number of) Thy righteous slaves. 19 Then Solomon inspected the birds, and said, "How is it that I do not see the hoopoe? Is he absent then? 20 Surely, I will punish him with a terrible punishment, or I will slaughter him or he gives me a good reason' 21 But he was not long in coming, and said, "I have learnt something you did not know. I have come to you from Sheba with reliable news. 22 "Behold, I found there a woman ruling over them; and she has been given [abundance] of all [good] things, and hers is a mighty throne, 23 I found her and her people worshipping the sun instead of Allah; and Satan maketh their works fairseeming unto them, and debarreth them from the way (of Truth), so that they go not aright; 24 that they would prostrate themselves before Allah Who brings to light all that is hidden in the heavens and the earth and knows all that you conceal and all that you reveal. 25 God is the only Lord and master of the Great Throne." ۩ 26 ۞ Solomon said: "Soon shall we see whether you have spoken the truth or are one of those that lie. 27 Take this my letter and hand it over to them, then turn away from them and see what (answer) they return. 28 [When the Queen had read Solomon's letter,] she said: "O you nobles! A truly distinguished letter has been conveyed unto me. 29 It is from Solomon, and it is "In the Name of God, the Merciful, the Compassionate. 30 [God says:] Exalt not yourselves against Me, but come unto Me in willing surrender!'" 31