Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:2943ʿAbdullāh b. Muḥammad > Muʿāwiyah b. ʿAmr > Abū Isḥāq > Ḥumayd > Anas

Whenever Messenger of Allah ﷺ attacked some people, he would never attack them till it was dawn. If he heard the Adhan (i.e. call for prayer) he would delay the fight, and if he did not hear the Adhan, he would attack them immediately after dawn. We reached Khaibar at night.  

البخاري:٢٩٤٣حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ حَدَّثَنَا مُعَاوِيَةُ بْنُ عَمْرٍو حَدَّثَنَا أَبُو إِسْحَاقَ عَنْ حُمَيْدٍ قَالَ

سَمِعْتُ أَنَسًا ؓ يَقُولُ كَانَ رَسُولُ اللَّهِ ﷺ إِذَا غَزَا قَوْمًا لَمْ يُغِرْ حَتَّى يُصْبِحَ فَإِنْ سَمِعَ أَذَانًا أَمْسَكَ وَإِنْ لَمْ يَسْمَعْ أَذَانًا أَغَارَ بَعْدَ مَا يُصْبِحُ فَنَزَلْنَا خَيْبَرَ لَيْلاً  


See similar narrations below:

Collected by Bayhaqī
bayhaqi:18237Abū al-Ḥasan ʿAlī b. Aḥmad b. ʿAbdān > Aḥmad b. ʿUbayd > ʿUbayd b. Sharīk > Abū Ṣāliḥ > Abū Isḥāq > Ḥumayd > Anas b. Mālik

[Machine] I heard Anas bin Malik say, "The Messenger of Allah, ﷺ , when he would go out on a military expedition, he would not deceive until morning. If he heard the call to prayer, he would hold back, and if he did not hear the call to prayer, he would proceed after sunrise."  

البيهقي:١٨٢٣٧أَخْبَرَنَا أَبُو الْحَسَنِ عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدَانَ أنبأ أَحْمَدُ بْنُ عُبَيْدٍ ثنا عُبَيْدُ بْنُ شَرِيكٍ ثنا أَبُو صَالِحٍ أنبأ أَبُو إِسْحَاقَ عَنْ حُمَيْدٍ قَالَ

سَمِعْتُ أَنَسَ بْنَ مَالِكٍ ؓ يَقُولُ كَانَ رَسُولُ اللهِ ﷺ إِذَا غَزَا قَوْمًا لَمْ يُغِرْ حَتَّى يُصْبِحَ فَإِنْ سَمِعَ أَذَانًا أَمْسَكَ وَإِنْ لَمْ يَسْمَعْ أَذَانًا أَغَارَ بَعْدَ مَا أَصْبَحَ  

أَخْرَجَهُ الْبُخَارِيُّ فِي الصَّحِيحِ مِنْ حَدِيثِ مُعَاوِيَةَ بْنِ عَمْرٍو عَنْ أَبِي إِسْحَاقَ الْفَزَارِيِّ