Allah referred Iblees as an angel.When your Lord said to the angels: Indeed, I am about to create a mortal out of clay,And when I have fashioned him and breathed into him of My (created) Spirit, then fall down before him prostrate,The angels fell down prostrate, every one,Except Iblis; he was arrogant and became one of the disbelievers.He [Allah] said: O Iblis, What hinders you from falling prostrate before that which I have created with both My hands? Are you too proud or are you of the high exalted?He (Satan) said: I am better than him. You created me of fire, whilst him You did create of clay.He [Allah] said: Go forth from hence, for indeed, you are outcast,And indeed, My curse is on you till the Day of Judgment.He (Satan) said: My Lord, Reprieve me till the day when they are raised.He [Allah] said: Indeed, you are of those reprievedUntil the day of the time appointed.He (Satan) said: Then, by Your might, I surely will beguile them every one,Except Your single-minded slaves among them. He said: The Truth is, and the Truth I speak,That I shall fill hell with you and with such of them as follow you, together.Say (O Muhammad, to mankind): I ask of you no fee for this, and I am no simulating. Indeed, it is naught else than a reminder for all peopleAnd you will come in time to know the truth thereof.[Qur'an 38: 71 - 88]
Narrated Ibn 'Abbas: There was an angelic tribe of
jinn, and Iblis belonged to it. He governed all in between the heaven and the earth.
Tabari Volume 1.