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 Sulaiman became Dawud’s heir; and he said, “O people, we have indeed been taught the language of birds, and have been given from all things; this surely is a manifest favour.” 16 We gathered to Solomon his army of jinn, humans and birds; gathered and dispersed, 17 Till they reached the Valley of Naml. Said the lady of Naml: "O Naml, go into your dwellings lest Solomon and his hordes should crush you unawares." 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 (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 inflict a severe punishment on him or maybe even slaughter him unless he comes forth with a convincing reason (for his absence)." 21 But he was not long in coming, and reported: "I have been around where you have not been. I come from Saba with positive news. 22 I found a woman ruling over them, who has been given everything and she has a mighty throne. 23 I have found her and her people adoring the sun instead of Allah, and the Satan hath made their works fairseeming unto them, and hath barred them from the way, so they are not guided. 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 Allah save Him, the Lord of the Tremendous Throne. ۩ 26 ۞ Solomon said: "Soon shall we see whether you have spoken the truth or are one of those that lie. 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 [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 is (as follows): 'In the name of Allah, Most Gracious, Most Merciful: 30 Be not haughty with me but come to me in submission [as Muslims].' " 31