Surah Al-A'raaf

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."

Tafsir 7:12

Allah asked Satan rebuking him: 'What stopped you from following My command to bow down to Adam?' Satan said: 'What prevented me is that I am better than Adam: You created me from fire and Adam from mud, and fire is greater then mud.'