Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “When the call to prayer is announced, Satan turns his back and he passes wind to avoid hearing it. When the call is finished, he turns around until the call for commencement is announced and then turns his back again. When the commencement is finished, he turns around until he provokes thoughts within a man, saying, ‘Remember this and that,’ persistently mentioning what was not on his mind until a man does not know how much he has prayed.”
Source: Ṣaḥīḥ al-Bukhārī 608, Ṣaḥīḥ Muslim 389
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ أَبِي هُرَيْرَةَ أَنَّ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ إِذَا نُودِيَ لِلصَّلَاةِ أَدْبَرَ الشَّيْطَانُ وَلَهُ ضُرَاطٌ حَتَّى لَا يَسْمَعَ التَّأْذِينَ فَإِذَا قَضَى النِّدَاءَ أَقْبَلَ حَتَّى إِذَا ثُوِّبَ بِالصَّلَاةِ أَدْبَرَ حَتَّى إِذَا قَضَى التَّثْوِيبَ أَقْبَلَ حَتَّى يَخْطِرَ بَيْنَ الْمَرْءِ وَنَفْسِهِ يَقُولُ اذْكُرْ كَذَا اذْكُرْ كَذَا لِمَا لَمْ يَكُنْ يَذْكُرُ حَتَّى يَظَلَّ الرَّجُلُ لَا يَدْرِي كَمْ صَلَّى
608 صحيح البخاري كتاب الأذان باب فضل التأذين
389 صحيح مسلم كتاب المساجد ومواضع الصلاة باب السهو في الصلاة والسجود له