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).
Sunan Abi Dawud Book 15, Hadith 158