The Messenger of Allah ﷺ said, "When Allah shaped Adam in Paradise, He left him as long as He willed to leave him. Iblis began circling around him, examining what he was. When he saw that he was hollow, he knew that he was a creature who would not be able to restrain himself."
حدثنا أبو بكر بن أبي شيبة حدثنا يونس بن محمد عن حماد بن سلمة عن ثابت
أن رسول الله ﷺ قال لما صور الله آدم في الجنة تركه ما شاء الله أن يتركه فجعل إبليس يطيف به ينظر ما هو فلما رآه أجوف عرف أنه خلق خلقا لا يتمالك