Anas bin Malik reported,

The Messenger of Allah ﷺ said, "When Allah shaped Adam in the Garden, He left him standing there as long as He willed. Iblis began circling around him, studying what he was, and when he saw that he was hollow within, he knew that he had been created as a creature with no self-restraint."

Muslim 6650

Sahih

حدثنا أبو بكر بن نافع حدثنا بهز حدثنا حماد بهذا الإسناد نحوه

مسلم 6650صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Righteousness, maintaining ties, and good manners
Chapter
Man was created unable to control himself
Numbering
Darussalam 6650
Muslim 6650