Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tabarani:11556al-ʿAbbās b. al-Faḍl al-Asfāṭī > Ismāʿīl b. Abū Ūways from my father > Thawr b. Zayd > Dāwud b. al-Ḥuṣayn > ʿIkrimah > Ibn ʿAbbās

[Machine] The Prophet ﷺ was asked about a man who feels that he broke his ablution during prayer, while in fact he didn't. The Messenger of Allah ﷺ said, "Verily, Satan approaches one of you while he is in prayer until he affects his recollection. So, if one of you senses such a thing, let him not depart from his prayer until he hears a sound or smells an odor."  

الطبراني:١١٥٥٦حَدَّثَنَا الْعَبَّاسُ بْنُ الْفَضْلِ الْأَسْفَاطِيُّ ثنا إِسْمَاعِيلُ بْنُ أَبِي أُوَيْسٍ حَدَّثَنِي أَبِي عَنْ ثَوْرِ بْنِ زَيْدٍ عَنْ دَاوُدَ بْنِ الْحُصَيْنِ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ

أَنَّ النَّبِيَّ ﷺ سُئِلَ عَنِ الرَّجُلِ يُخَيَّلُ إِلَيْهِ فِي صَلَاتِهِ أَنَّهُ أَحْدَثَ وَلَمْ يُحْدِثْ فَقَالَ رَسُولُ اللهِ ﷺ «إِنَّ الشَّيْطَانَ يَأْتِي أَحَدَكُمْ وَهُوَ فِي صَلَاتِهِ حَتَّى يَفْتَحَ مَقْعَدَتَهُ فَيُخَيَّلُ إِلَيْهِ أَنَّهُ أَحْدَثَ وَلَمْ يُحْدِثْ فَإِذَا وَجَدَ أَحَدُكُمْ ذَلِكَ فَلَا يَنْصَرِفَنَّ حَتَّى يَسْمَعَ صَوْتَ ذَلِكَ بِأُذُنِهِ أَوْ يَجِدَ رِيحَ ذَلِكَ بِأَنْفِهِ»  


See similar narrations below:

Collected by Suyūṭī
suyuti:5639a
Request/Fix translation

  

السيوطي:٥٦٣٩a

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

[طب] الطبرانى في الكبير عن ابن عباس