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 The angels replied, "You are glorious indeed! We do not know more than what You have taught us. You alone are All-knowing and All-wise". 32 He said: "O Adam! Inform them of their names," and when he had informed them of their names, He said: "Did I not tell you that I know the Ghaib (unseen) in the heavens and the earth, and I know what you reveal and what you have been concealing?" 33 And (remember) when We said to the angels: "Prostrate yourselves before Adam.". And they prostrated except Iblis (Satan), he refused and was proud and was one of the disbelievers (disobedient to Allah). 34 We said, "O Adam! live with your wife in Paradise and eat freely from it anywhere you may wish. Yet do not approach this 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 Adam received from his Lord Words. And his Lord pardoned him (accepted his repentance). Verily, He is the One Who forgives (accepts repentance), the Most Merciful. 37 And We said to them: "Go, all of you. When I send guidance, whoever follows it will neither have fear nor regret; 38 and whoever will refuse to accept it and defy Our Revelations they shall be doomed to the Fire wherein they shall remain for ever. 39