Surah Al-Hijr

15:31

إِلَّآ إِبْلِيسَ أَبَىٰٓ أَن يَكُونَ مَعَ ٱلسَّٰجِدِينَ

Except Iblees, he refused to be with those who prostrated.

Tafsir 15:31

As for Iblis, who was with the angels but was not one himself, refused to prostrate to Adam along with the angels.