(28) Events of the Day of Resurrection and the Beginning of Creation
كتاب أحوال القيامة وبدء الخلق
(9a) Chapter: The Beginning of Creation, and Mention of the Prophets - Section 1
(9) باب بدءالخلق وذكر الأنبياء عليهم الصلاة والسلام - الفصل الأول
Mishkat al-Masabih 5702 
Anas reported God's messenger as saying, "When God fashioned Adam in paradise, He left him as long as God wished to leave him; then Iblis began to visit him and consider what kind of being he was, and when he saw that he had a hollow space within he recognised that he had been created as a being not possessed of self-control." Muslim transmitted it.
وَعَنْ أَنَسٍ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «لَمَّا صَوَّرَ اللَّهُ آدَمَ فِي الْجَنَّةِ تَرَكَهُ مَا شَاءَ أَنْ يَتْرُكَهُ فَجَعَلَ إِبْلِيسُ يُطِيفُ بِهِ يَنْظُرُ مَا هُوَ فَلَمَّا رَآهُ أَجْوَفَ عَرَفَ أَنَّهُ خُلِقَ خَلْقًا لَا يتمالَكُ» . رَوَاهُ مُسلم
 صَحِيح  (الألباني)حكم :
Reference : Mishkat al-Masabih 5702
In-book reference : Book 28, Hadith 173