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).
أَنَّ النَّبِيَّ ﷺ كَانَ يُغِيرُ عِنْدَ صَلاَةِ الصُّبْحِ وَكَانَ يَتَسَمَّعُ فَإِذَا سَمِعَ أَذَانًا أَمْسَكَ وَإِلاَّ أَغَارَ