Anas bin Malik reported,

Whenever the Messenger of Allah ﷺ went to raid a people, he would not launch the attack until morning. If he heard the call to prayer, he would hold back, and if he did not hear it, he would attack after daybreak. We arrived at Khaybar by night.

Bukhari 2943

Sahih

حدثنا عبد الله بن محمد حدثنا معاوية بن عمرو حدثنا أبو إسحاق عن حميد قال سمعت

أنسا رضي الله عنه يقول

كان رسول الله ﷺ إذا غزا قوما لم يغر حتى يصبح فإن سمع أذانا أمسك وإن لم يسمع أذانا أغار بعد ما يصبح فنزلنا خيبر ليلا

البخاري 2943صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
Invitation of the Prophet ﷺ to Islam and prophethood, and that none should take others as lords besides Allah
Numbering
Darussalam 2943
Bukhari 2943