We did not create heaven and earth and all that is between them in vain. That is the opinion of those who deny the truth. Woe betide those who deny the truth, when they are cast into the Fire -- 27 [For,] would We treat those who have attained to faith and do righteous deeds in the same manner as [We shall treat] those who spread corruption on earth? Would We treat the God-conscious in the same manner as the wicked? 28 This is the Blessed Book that We have revealed to you, (O Muhammad), that people with understanding may reflect over its verses and those with understanding derive a lesson. 29 And to David We gave Solomon. An excellent servant, indeed he was one repeatedly turning back [to Allah]. 30 When well-bred horses, which were fleet of foot were paraded before him near the close of day, 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!" -- [he said] and began to stroke their legs and their necks. 33 We tested Solomon by (causing death to his son) and leaving his body on Solomon's chair. Then he turned to Us in repentance, 34 He said, 'My Lord, forgive me, and give me a kingdom such as may not befall anyone after me; surely Thou art the All-giver.' 35 So We made the wind subservient unto him, setting fair by his command whithersoever he intended. 36 and the satans, every builder and diver 37 And many others bound in bond. 38 "This is Our gift," (We said to him), "so bestow freely or withhold without reckoning." 39 His reward will be nearness to Us, a good place to return to. 40