Hadith on Satan: Devil will come with doubts, seek refuge in Allah

Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “Satan will come to one of you and he will say, ‘Who created this and that?’ until he says to him, ‘Who created your Lord?’ When it comes to this, let him seek refuge in Allah and stop such thoughts.”

In another narration, the Prophet said, “Let him say: I have faith in Allah.

Source: Ṣaḥīḥ al-Bukhārī 3102, Ṣaḥīḥ Muslim 134

Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim

عَنْ أَبِي هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَأْتِي الشَّيْطَانُ أَحَدَكُمْ فَيَقُولَ مَنْ خَلَقَ كَذَا وَكَذَا حَتَّى يَقُولَ لَهُ مَنْ خَلَقَ رَبَّكَ فَإِذَا بَلَغَ ذَلِكَ فَلْيَسْتَعِذْ بِاللَّهِ وَلْيَنْتَهِ

وفي رواية أخرى قال فَلْيَقُلْ آمَنْتُ بِاللَّهِ

3102 صحيح البخاري كتاب بدء الخلق باب صفة إبليس وجنوده

134 صحيح مسلم كتاب الإيمان باب بيان الوسوسة في الإيمان وما يقوله من وجدها