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 After this he taught Adam the names of all things. Then He set these before the angels and asked, "Tell Me the names of these things, if you are right (in thinking that the appointment of a vicegerent will cause disorder)". 31 They said: "Glory to Thee, of knowledge We have none, save what Thou Hast taught us: In truth it is Thou Who art perfect in knowledge and wisdom." 32 Then He said, "O Adam, tell them their names." When Adam had told them the names, God said to the angels, "Did I not say to you: I know the secrets of the heavens and of the earth, and I know what you reveal and what you conceal?" 33 And when We said to the angels: 'Prostrate (to Me) yourselves towards Adam,' they all prostrated themselves except iblis (satan, father of the jinn), who, in his pride refused and became an unbeliever. 34 And We said to Adam: "Both you and your spouse live in the Garden, eat freely to your fill wherever you like, but approach not this tree or you will become transgressors. 35 But Satan tempted them and had them banished from the (happy) state they were in. And We said: "Go, one the antagonist of the other, and live on the earth for a time ordained, and fend for yourselves." 36 Then Adam received from his Lord [some] words, and He accepted his repentance. Indeed, it is He who is the Accepting of repentance, the Merciful. 37 We said, 'Get you down out of it, all together; yet there shall come to you guidance from Me, and whosoever follows My guidance, no fear shall be on them, neither shall they sorrow. 38 And those who disbelieve and deny Our signs, are the people of fire (hell); they will remain in it forever. 39