صحيح مسلم Sahih Muslim كتاب الصلاة The Book of Prayers
باب الإِمْسَاكِ عَنِ الإِغَارَةِ عَلَى قَوْمٍ فِي دَارِ الْكُفْرِ إِذَا سُمِعَ فِيهِمُ الأَذَانُ:

Chapter: Refraining From Attacking People In Dar Al-Kufr (Non-Muslim Lands) If The Adhan Is Heard Among Them

1 hadith
Hadith 382
وحَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ ، حَدَّثَنَا يَحْيَى يَعْنِي ابْنَ سَعِيدٍ ، عَنْ حَمَّادِ بْنِ سَلَمَةَ ، حَدَّثَنَا ثَابِتٌ ، عَنْ أَنَسِ بْنِ مَالِكٍ ، قَالَ : " كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، يُغِيرُ إِذَا طَلَعَ الْفَجْرُ ، وَكَانَ يَسْتَمِعُ الأَذَانَ ، فَإِنْ سَمِعَ أَذَانًا ، أَمْسَكَ ، وَإِلَّا أَغَارَ ، فَسَمِعَ رَجُلًا ، يَقُولُ : اللَّهُ أَكْبَرُ ، اللَّهُ أَكْبَرُ ، فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : عَلَى الْفِطْرَةِ ، ثُمَّ قَالَ : أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللَّهُ ، أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللَّهُ ، فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : خَرَجْتَ مِنَ النَّارِ فَنَظَرُوا ، فَإِذَا هُوَ رَاعِي مِعْزًى " .
Anas bin Malik (RA) reported: The Messenger of Allah (ﷺ) used to attack the enemy when it was dawn. He would listen to the Adhan; so if he heard an Adhan, he stopped, otherwise made an attack. Once on hearing a man say: Allah is the Greatest, Allah is the Greatest, the Messenger of Allah (ﷺ) remarked: He is following al-Fitra (al-Islam). Then hearing him say: I testify that there is no god but Allah. there is no god but Allah, the Messenger of Allah (ﷺ) said: You have come out of the Fire (of Hell). They looked at him and found that he was a goatherd.
Hadith Reference Sahih Muslim / The Book of Prayers / Hadith: 382
Hadith Grading محدثین: أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij «أحاديث صحيح مسلم كلها صحيحة»