It is narrated from Hazrat Anas (may Allah be pleased with him) that when the Prophet (peace and blessings be upon him) intended to attack a people, he would not attack at night but would wait until morning. If he heard the sound of the call to prayer (adhan) from there, he would refrain; otherwise, he would attack.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 13481
Hadith Gradingحکم دارالسلام:حديث صحيح، وهذا إسناد حسن من أجل ابن إسحاق