Aisha reported: The Messenger of Allah, peace and blessings be upon him, said, “Verily, one of you will be confronted by Satan and he will say: Who created you? Then he says: Allah. Satan says: Who created Allah? If one of you feels that, let him recite: I have faith in Allah and His Messengers. This will take him away.”
Source: Musnad Aḥmad 26203
Grade: Sahih (authentic) according to Al-Arna’ut
عَنْ عَائِشَةَ أَنَّ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ إِنَّ أَحَدَكُمْ يَأْتِيهِ الشَّيْطَانُ فَيَقُولُ مَنْ خَلَقَكَ فَيَقُولُ اللهُ فَيَقُولُ فَمَنْ خَلَقَ اللهَ فَإِذَا وَجَدَ ذَلِكَ أَحَدُكُمْ فَلْيَقْرَأْ آمَنْتُ بِاللهِ وَرُسُلِهِ فَإِنَّ ذَلِكَ يُذْهِبُ عَنْهُ
26203 مسند أحمد بن حنبل
43/271 المحدث شعيب الأرناؤوط خلاصة حكم المحدث صحيح في تخريج المسند لشعيب