Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates: "We were sitting with the Messenger of Allah (peace and blessings be upon him) when a man came who was the ugliest of all people in face, the worst of them in clothing and the foulest of them in smell, coarse and rude. He stepped over the people's necks and sat down in front of the Messenger of Allah (peace and blessings be upon him) and said: 'Who created you?' He (peace and blessings be upon him) said: 'Allah.' He said: 'Who created the heaven?' He said: 'Allah.' He said: 'Who created the earth?' He said: 'Allah.' He said: 'Then who created Allah?' The Messenger of Allah (peace and blessings be upon him) said twice: 'Subhan Allah (Glory be to Allah)!' and held his forehead. The man got up and left. The Messenger of Allah (peace and blessings be upon him) said: 'Bring that man to me.' We searched for him, but it was as if he had never been there. Then the Messenger of Allah (peace and blessings be upon him) said: 'That was Iblis, who came to make you doubt your religion.'"
Hadith Referenceالمعجم الأوسط / باب الميم / 5966
Hadith Gradingمحدثین:إسناده ضعيف جدًّا، فيه عبد الله بن جعفر المديني متهم بالوضع
Hadith Takhrij«قال الهيثمي: في إسناده عبد الله بن جعفر المديني والد علي بن المديني وقد رماه الناس بالوضع «مجمع الزوائد ومنبع الفوائد، ج 1، ص 35»»