صحيح مسلم Sahih Muslim كتاب البر والصلة والآداب The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship
باب خُلِقَ الإِنْسَانُ خَلْقًا لاَ يَتَمَالَكُ:

Chapter: 'Man Is Created In Such A Way That He Is Not Steadfast'

2 hadith
Hadith 2611
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ ، حَدَّثَنَا يُونُسُ بْنُ مُحَمَّدٍ ، عَنْ حَمَّادِ بْنِ سَلَمَةَ ، عَنْ ثَابِتٍ ، عَنْ أَنَسٍ ، أَنّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، قَالَ : " لَمَّا صَوَّرَ اللَّهُ آدَمَ فِي الْجَنَّةِ تَرَكَهُ مَا شَاءَ اللَّهُ أَنْ يَتْرُكَهُ ، فَجَعَلَ إِبْلِيسُ يُطِيفُ بِهِ يَنْظُرُ مَا هُوَ ، فَلَمَّا رَآهُ أَجْوَفَ عَرَفَ أَنَّهُ خُلِقَ خَلْقًا لَا يَتَمَالَكُ " .
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.
Hadith Reference Sahih Muslim / The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship / Hadith: 2611
Hadith Grading محدثین: أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij «أحاديث صحيح مسلم كلها صحيحة»
Hadith 2611
حَدَّثَنَا أَبُو بَكْرِ بْنُ نَافِعٍ ، حَدَّثَنَا بَهْزٌ ، حَدَّثَنَا حَمَّادٌ ، بِهَذَا الْإِسْنَادِ نَحْوَهُ .
A hadith like this has been narrated on the authority of Humaid with the same chain of transmitters.
Hadith Reference Sahih Muslim / The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship / Hadith: 2611
Hadith Grading محدثین: أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij «أحاديث صحيح مسلم كلها صحيحة»