Hadithcore
Sunan Abi Dawud, 2634
sahih· Al-Albani

Anas said “The Prophet (ﷺ) used to attack at the time of the dawn prayer and hear. If he heard a call to prayer, he would refrain from them, otherwise would attack (them).

حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا حَمَّادٌ، أَخْبَرَنَا ثَابِتٌ، عَنْ أَنَسٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم كَانَ يُغِيرُ عِنْدَ صَلاَةِ الصُّبْحِ وَكَانَ يَتَسَمَّعُ فَإِذَا سَمِعَ أَذَانًا أَمْسَكَ وَإِلاَّ أَغَارَ ‏.‏

References2 variants
In-Book Reference
Book 15, Hadith 158
English Reference
Book 14, Hadith 2628