Allah Almighty commanded the angels to prostrate before Adam Pbuh and Satan was among those who were included in the command, although he is not an angel, but he associated himself with the angels.
- (And ˹remember˺ when We said to the angels, “Prostrate before Adam,”1 so they all did—but not Iblîs,2 who refused and acted arrogantly,3 becoming unfaithful.) Al-Baqara 2:34
- (Surely We created you,1 then shaped you, then said to the angels, “Prostrate before Adam,” so they all did—but not Iblîs,2 who refused to prostrate with the others. )Al-Aaraf 7:11
- (And ˹remember˺ when We said to the angels, “Prostrate before Adam,” so they all did—but not Iblîs,1 who was one of the jinn, but he rebelled against the command of his Lord. Would you then take him and his descendants as patrons instead of Me, although they are your enemy? What an evil alternative for the wrongdoers ˹to choose˺!) Al-Kahf 18:50
- (And ˹remember˺ when We said to the angels, “Prostrate before Adam,” so they all did—but not Iblîs,1 who refused ˹arrogantly˺.) Taha 20:116
أمر الله الملائكة بالسجود لآدم و دخل في الأمر إبليس و لم يكن من الملائكة و إنما دخل بالأمر لأنه تشبه بهم.
وَإِذْ قُلْنَا لِلْمَلَٰئِكَةِ ٱسْجُدُواْ لأَدَمَ فَسَجَدُواْ إِلاَّ إِبْلِيسَ أَبَىٰ وَٱسْتَكْبَرَ وَكَانَ مِنَ ٱلْكَٰفِرِينَ) البقرة 2 : 34))
(وَلَقَدْ خَلَقْنَاكُمْ ثُمَّ صَوَّرْنَاكُمْ ثُمَّ قُلْنَا لِلْمَلاۤئِكَةِ ٱسْجُدُواْ لأَدَمَ فَسَجَدُوۤاْ إِلاَّ إِبْلِيسَ لَمْ يَكُنْ مِّنَ ٱلسَّاجِدِين) الأعراف 7: 11
(وَإِذْ قُلْنَا لِلْمَلاۤئِكَةِ ٱسْجُدُواْ لأَدَمَ فَسَجَدُوۤاْ إِلاَّ إِبْلِيسَ كَانَ مِنَ ٱلْجِنِّ فَفَسَقَ عَنْ أَمْرِ رَبِّهِ أَفَتَتَّخِذُونَهُ وَذُرِّيَّتَهُ) أَوْلِيَآءَ مِن دُونِي وَهُمْ لَكُمْ عَدُوٌّ بِئْسَ لِلظَّالِمِينَ بَدَلا ) الكهف 18 : 50
(وَإِذْ قُلْنَا لِلْمَلاَئِكَةِ ٱسْجُدُواْ لأَدَمَ فَسَجَدُوۤاْ إِلاَّ إِبْلِيسَ أَبَىٰ)
طه 20 : 116