We gave knowledge to David and Solomon. They said: 'Praise be to Allah who has preferred us above many of His believing worshipers' 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 Solomon's hosts of jinn and men and birds, were all gathered together in his presence and were ranged in battle order, 17 Until, when they came upon the valley of the ants, an ant said, "O ants, enter your dwellings that you not be crushed by Solomon and his soldiers while they perceive not." 18 (Solomon) smiled at the ant's remarks and said, "Lord, inspire me to thank you for Your favors to me and my parents and to act righteously so as to please you. Admit me, by your mercy into the company of Your righteous servants". 19 And he reviewed the birds; then he said, 'How is it with me, that I do not see the hoopoe? Or is he among the absent? 20 I will punish him severely, or cut his throat, unless he bring a valid excuse." 21 Not long after the hoopoe came forward and said, "I have information which you do not have. I have come from the land of Sheba with a true report. 22 "I found (there) a woman ruling over them and provided with every requisite; and she has a magnificent throne. 23 I found that she and her people worship the sun in place of God, for Satan has made their deeds look attractive to them and has turned them away from the Path, so they do not find the way 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 Allah! there is no God but he, the Lord of the Magnificent 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 Indeed, it is from Solomon, and indeed, it reads: 'In the name of Allah, the Entirely Merciful, the Especially Merciful, 30 [God says:] Exalt not yourselves against Me, but come unto Me in willing surrender!'" 31