And indeed, We know the first generations of you who had passed away, and indeed, We know the present generations of you (mankind), and also those who will come afterwards.
And verily, your Lord will gather them together. Truly, He is All-wise, All-knowing.
And indeed, We created man from dried (sounding) clay of altered mud.
And the jinn, We created aforetime from the smokeless flame of fire.
And (remember) when your Lord said to the angels: "I am going to create a man (Adam) from dried (sounding) clay of altered mud.
"So, when I have fashioned him completely and breathed into him (Adam) the soul with which I created for him, then fall (you) down prostrating yourselves to him."
So the angels prostrated themselves all of them together.
Except Iblis (Satan) - he refused to be amongst the prostrators.
(Allah) said: "O Iblis! What is your reason for not being among the prostrators?"
Iblis said: "I am not the one to prostrate myself to a human being, whom You created from dried (sounding) clay of altered mud."
(Allah) said: "Then, get out from here, for verily, you are Rajim (an outcast or a cursed one)." (Tafsir At-Tabari)
And verily, the curse shall be upon you till the Day of Recompense (i.e. the Day of Resurrection)."
(Surah 15: Al-Hijr [The Rocky Tract]; verses 23-35)