كتاب الصلاة
4  
The Book of Prayers
(8)
Chapter: The Virtue Of the Adhan, And The Shaitan Flees When He Hears It
(8)
باب فَضْلِ الأَذَانِ وَهَرَبِ الشَّيْطَانِ عِنْدَ سَمَاعِهِ ‏
Sahih Muslim 389 a

Abu Huraira reported the Messenger of Allah (ﷺ) as saying:

When Satan hears the call to prayer, he turns back and breaks the wind so as not to hear the call being made, but when the call is finished he turns round and distracts (the minds of those who pray), and when he hears the Iqama, he again runs away so as not to hear its voice and when it subsides, he comes back and distracts (the minds of those who stand for prayer).
حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، وَزُهَيْرُ بْنُ حَرْبٍ، وَإِسْحَاقُ بْنُ إِبْرَاهِيمَ، - وَاللَّفْظُ لِقُتَيْبَةَ - قَالَ إِسْحَاقُ أَخْبَرَنَا وَقَالَ الآخَرَانِ، حَدَّثَنَا جَرِيرٌ، عَنِ الأَعْمَشِ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ إِنَّ الشَّيْطَانَ إِذَا سَمِعَ النِّدَاءَ بِالصَّلاَةِ أَحَالَ لَهُ ضُرَاطٌ حَتَّى لاَ يَسْمَعَ صَوْتَهُ فَإِذَا سَكَتَ رَجَعَ فَوَسْوَسَ فَإِذَا سَمِعَ الإِقَامَةَ ذَهَبَ حَتَّى لاَ يَسْمَعَ صَوْتَهُ فَإِذَا سَكَتَ رَجَعَ فَوَسْوَسَ ‏"‏ ‏.‏
Reference : Sahih Muslim 389a
In-book reference : Book 4, Hadith 19
USC-MSA web (English) reference : Book 4, Hadith 753
  (deprecated numbering scheme)