We have not created the heavens and earth, and what between them is, for vanity; such is the thought of the unbelievers, wherefore woe unto the unbelievers because of the Fire! 27 Or should we treat those who believe and do righteous deeds like corrupters in the land? Or should We treat those who fear Allah like the wicked? 28 (It is) a Book We have revealed to you abounding in good that they may ponder over its verses, and that those endowed with understanding may be mindful. 29 We bestowed Solomon on David who was an excellent devotee, for he turned to God in penitence. 30 Behold, there were brought before him, at eventide coursers of the highest breeding, and swift of foot; 31 he said, "My love of horses for the cause of God has made me continue watching them until sunset, thus making me miss my prayer". 32 "Bring them back to me." then began he to pass his hand over (their) legs and their necks. 33 And We indeed tested Sulaiman, and placed a dead body on his throne – he therefore inclined towards His Lord. 34 He said: My Lord! do Thou forgive me and grant me a kingdom which is not fit for (being inherited by) anyone after me; 35 Then We made the wind subservient to him; it made his command to run gently wherever he desired, 36 And also the Shayatin (devils) from the jinns (including) every kind of builder and diver, 37 and others that were bound with chains. 38 [And We told him:] "This is Our gift, for thee to bestow freely on others, or to withhold, without [having to render] account!" 39 And indeed for him in Our presence are, surely, proximity and an excellent abode. 40