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 Solomon was David's heir. He said: "O ye people! We have been taught the speech of birds, and on us has been bestowed (a little) of all things: this is indeed Grace manifest (from Allah.)" 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 So he smiled, amused at her speech, and said: my Lord! arouse me that I should be thankful for Thy favour wherewith Thou hast favoured me and my parents, and that I should work righteously pleasing Thee, and out of Thy mercy enter me among Thine righteous bondmen. 19 And [one day] he looked in vain for [a particular one of] the birds; and so he said: How is it that I do not see the hoopoe? Or could he be among the absent? 20 I will inflict a severe punishment on him or maybe even slaughter him unless he comes forth with a convincing reason (for his absence)." 21 And he tarried not long, then said: I comprehend that which you do not comprehend and I have brought to you a sure information from Sheba. 22 Indeed, I found [there] a woman ruling them, and she has been given of all things, and she has a great throne. 23 I found her and her people prostrating to the sun instead of Allah, and Satan has made their deeds pleasing to them and averted them from [His] way, so they are not guided, 24 So that they worship not Allah, Who bringeth forth the hidden in the heavens and the earth, and knoweth what ye hide and what ye proclaim, 25 Allah - none is worthy of worship save He; He is the Lord of the Mighty Throne. ۩ 26 ۞ (Solomon) said: We shall see whether thou speakest truth or whether thou art of the liars. 27 Take this letter from me, and deliver it to them and withdraw, then see what reply they give in return." 28 She said: O chiefs! verily there hath been cast unto me an honourable epistle. 29 Lo! it is from Solomon, and lo! it is: In the name of Allah, the Beneficent, the Merciful; 30 Do not rise against me, but come to me in submission.' 31