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 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 Hosts of jinn and humans and birds were marshalled for Solomon and were kept under full control. 17 Until when they came unto the valley of the ants, an ant said: O ants! enter your habitations lest Sulaiman and his hosts crush you while they perceive not. 18 So he [Sulaiman (Solomon)] smiled, amused at her speech and said: "My Lord! Inspire and bestow upon me the power and ability that I may be grateful for Your Favours which You have bestowed on me and on my parents, and that I may do righteous good deeds that will please You, and admit me by Your Mercy among Your righteous slaves." 19 And he sought among the birds and said: How is it that I see not the hoopoe, or is he 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 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 There I found a woman ruling over them. She possess everything and 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 “Why do they not prostrate to Allah, Who brings forth the things hidden in the heavens and the earth, and knows all what you hide and all what you disclose?” 25 Allah, La ilaha illa Huwa (none has the right to be worshipped but He), the Lord of the Supreme Throne! ۩ 26 ۞ (Solomon) said: We shall see whether thou speakest truth or whether thou art of the liars. 27 Take this letter of mine, and cast it unto them, then turn back from them and see what they shall 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 (says): 'In the name of Allah, Ar-Rahman, Ar-Rahim. 30 (It says): "Do not act towards me with defiance, but come to me in submission." 31