[25] When the angels obeyed Allah’s command to prostrate before Adam; whereas, Satan refused to comply, for he considered himself superior to Adam, neglecting the fact that this was a command from Allah Almighty.
[27] This command of Allah to bow down before Adam was a test of obedience. Satan refused to comply out of arrogance for he thought he was better than Adam.