Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:7:12

˹Allah˺ said, "What prevented you from prostrating when I commanded you?" ˹Satan˺ said, "I am better than him. You created me from fire and created him from clay."  

He, exalted be He, said, ‘What prevented you from falling prostrate (allā is ˹made up of˺ an-lā, the lā being extra) when I commanded you?’ He ˹Iblīs˺ said, ‘I am better than him. You created me from fire, while him You created from clay’.
القرآن:٧:١٢

قَالَ مَا مَنَعَكَ أَلَّا تَسْجُدَ إِذْ أَمَرْتُكَ ۖ قَالَ أَنَا خَيْرٌ مِنْهُ خَلَقْتَنِي مِنْ نَارٍ وَخَلَقْتَهُ مِنْ طِينٍ  

{قال} تعالى {ما منعك أن} {لا} زائدة {تسجد إذ} حين {أمرتك قال أنا خير منه خلقتني من نار وخلقته من طين}.

See similar narrations below:

Collected by Qurʾān
quran:38:76

He said, "I am better than him. You created me from fire and created him from clay."  

He said, ‘I am better than him. You created me from fire and You created him from clay’.
القرآن:٣٨:٧٦

قَالَ أَنَا خَيْرٌ مِنْهُ ۖ خَلَقْتَنِي مِنْ نَارٍ وَخَلَقْتَهُ مِنْ طِينٍ  

{قال أنا خير منه خلقتني من نار وخلقته من طين}.