And when thy Lord said to the angels, 'I am setting in the earth a viceroy.' They said, 'What, wilt Thou set therein one who will do corruption there, and shed blood, while We proclaim Thy praise and call Thee Holy?' He said, 'Assuredly I know that you know not.' 30 He taught Adam all the names. Then He introduced (some intelligent beings) to the angels, asking them to tell Him the names of these beings, if the angels were true to their claim (that they more deserved to be His deputies on earth). 31 They (angels) said: "Glory be to You, we have no knowledge except what you have taught us. Verily, it is You, the All-Knower, the All-Wise." 32 He said: "O Adam! Tell them their names." When he had told them, Allah said: "Did I not tell you that I know the secrets of heaven and earth, and I know what ye reveal and what ye conceal?" 33 And when We told the angels, "Prostrate yourselves before Adam!" - they all prostrated themselves, save Iblis, who refused and gloried in his arrogance: and thus he became one of those who deny the truth. 34 And We said: "O Adam, dwell thou and thy wife in this garden, and eat freely thereof, both of you, whatever you may wish; but do not approach this one tree, lest you become wrongdoers." 35 But Satan caused them both to slip through this and thus brought about the loss of their former state. We said, "Go down from here as enemies to each other; and on earth you shall have your abode and your livelihood for a while!" 36 Then learnt Adam from his Lord words of inspiration, and his Lord Turned towards him; for He is Oft-Returning, Most Merciful. 37 [For although] We did say: "Down with you all from this [state,]" there shall, none the less, most certainly come unto you guidance from Me: and those who follow My guidance need have no fear, and neither shall they grieve; 38 but those who are bent on denying the truth and giving the lie to Our messages - they are destined for the fire, and therein shall they abide. 39