All the angels prostrated to Adam except Iblis, who was arrogant and became a disbeliever.
إِذۡ قَالَ رَبُّكَ لِلۡمَلَٰٓئِكَةِ إِنِّي خَٰلِقُۢ بَشَرࣰ ا مِّن طِينࣲ ٧١ فَإِذَا سَوَّيۡتُهُۥ وَنَفَخۡتُ فِيهِ مِن رُّوحِي فَقَعُواْ لَهُۥ سَٰجِدِينَ ٧٢ فَسَجَدَ ٱلۡمَلَٰٓئِكَةُ كُلُّهُمۡ أَجۡمَعُونَ ٧٣ إِلَّآ إِبۡلِيسَ ٱسۡتَكۡبَرَ وَكَانَ مِنَ ٱلۡكَٰفِرِينَ ٧٤
71 [So mention] when your Lord said to the angels, "Indeed, I am going to create a human being from clay 72 So when I have proportioned him and breathed into him of My [created] soul, then fall down to him in prostration 73 So the angels prostrated - all of them entirely 74 Except Iblees; he was arrogant and became among the disbelievers