كتاب البر والصلة والآداب
45
The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship
(31)
Chapter: 'Man Is Created In Such A Way That He Is Not Steadfast'
(31)
باب خُلِقَ الإِنْسَانُ خَلْقًا لاَ يَتَمَالَكُ ‏‏

Anas reported Allah's Messenger (ﷺ) as saying:

When Allah fashioned Adam in Paradise, He left him as He liked him to leave. Then Iblis roamed round him to see what actually that was and when he found him hollow from within, he recognised that he had been created with a disposition that he would not have control over himself.
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا يُونُسُ بْنُ مُحَمَّدٍ، عَنْ حَمَّادِ بْنِ سَلَمَةَ، عَنْ ثَابِتٍ، عَنْ أَنَسٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ لَمَّا صَوَّرَ اللَّهُ آدَمَ فِي الْجَنَّةِ تَرَكَهُ مَا شَاءَ اللَّهُ أَنْ يَتْرُكَهُ فَجَعَلَ إِبْلِيسُ يُطِيفُ بِهِ يَنْظُرُ مَا هُوَ فَلَمَّا رَآهُ أَجْوَفَ عَرَفَ أَنَّهُ خُلِقَ خَلْقًا لاَ يَتَمَالَكُ ‏"‏ ‏.‏
Reference : Sahih Muslim 2611 a
In-book reference : Book 45, Hadith 146
USC-MSA web (English) reference : Book 32, Hadith 6319
  (deprecated numbering scheme)