And We indeed bestowed great knowledge to Dawud and Sulaiman; and they both said, “All praise is to Allah, Who bestowed us superiority over many of His believing bondmen.” 15 And Sulaiman (Solomon) inherited (the knowledge of) Dawud (David). He said: "O mankind! We have been taught the language of birds, and on us have been bestowed all things. This, verily, is an evident grace (from Allah)." 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 I will punish him severely, or cut his throat, unless he bring a valid 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 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, apart from God; Satan has decked out fair their deeds to them and he has barred them from the way, and therefore they are not guided, 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, save whom there is no deity - the Sustainer, in awesome almightiness enthroned!" ۩ 26 ۞ Said [Solomon]: "We shall see whether thou hast told the truth or art one of the liars! 27 "Go you with this letter of mine, and deliver it to them, then draw back from them, and see what (answer) they return." 28 The woman said, “O chieftains, indeed a noble letter has been dropped upon me.” 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