And indeed We gave knowledge to Dawud (David) and Sulaiman (Solomon), and they both said: "All the praises and thanks be to Allah, Who has preferred us above many of His believing slaves!" 15 And Solomon succeeded David and said: "O people, we have been taught the speech of birds and we have been endowed with all kinds of things. Surely this is a conspicuous favour (from Allah)." 16 Hosts of jinn and humans and birds were marshalled for Solomon and were kept under full control. 17 Until when they came to the valley of the ants, a she ant exclaimed, “O ants, enter your houses – may not Sulaiman and his armies crush you, unknowingly.” 18 But he smiled, laughing at its words, and he said, 'My Lord, dispose me that I may be thankful for Thy blessing wherewith Thou hast blessed me and my father and mother, and that I may do righteousness well-pleasing to Thee; and do Thou admit me, by Thy mercy, amongst Thy 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 will certainly punish him with a severe penalty, or execute him, unless he bring me a clear reason (for absence)." 21 But the Hoopoe tarried not far: he (came up and) said: "I have compassed (territory) which thou hast not compassed, and I have come to thee from Saba with tidings true. 22 "I found (there) a woman ruling over them and provided with every requisite; and she has a magnificent throne. 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 deity except Him, Lord of the Great Throne." ۩ 26 ۞ (Solomon) said: 'We shall see if you speak the truth or you are a liar. 27 Take my letter, and drop it to them. Then turn aside and see what they shall return' 28 She said, "O eminent ones, indeed, to me has been delivered a noble letter. 29 Verily it is from Sulaiman, and verily it is: in the name of Allah, the Compassionate, the Merciful. 30 Be not haughty with me but come to me in submission [as Muslims].' " 31