Anas bin Malik reported,

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 realized that he was a creature who would not be able to control himself."

Azami 8328

Sahih

عن أنس بن مالك

أن رسول الله ﷺ قال: لما صور الله آدم في الجنة تركه ما شاء الله أن يتركه، فجعل إبليس يطيف به ينظر ما هو؟ فلما رآه أجوف عرف أنه خلق خلقا لا يتمالك.

الأعظمي 8328صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Stories of the prophets
Chapter
News of Adam عليه السلام
Section
News of Adam عليه السلام
Numbering
Jami al-Kamil 8328 (2nd edition)
Azami 8328