when we said to the angels prostrate before adam they prostrated but not iblis he said shall i prostrate before someone whom you have created from clay?
وإذ قلنا للملائكة اسجدوا لآدم فسجدوا إلا إبليس قال أأسجد لمن خلقت طينا