Narrated Jabir ibn Abdullah: The Prophet ﷺ said: When you hear the barking of dogs and the braying of asses at night, seek refuge in Allah, for they see which you do not see.
Hadith Referenceسنن ابي داود / أبواب النوم / 5103
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:إسناده حسن, مشكوة المصابيح (4302), ابن إسحاق صرح بالسماع عند أبي يعلي (4/ 211 ح 2327)
Hadith Takhrij« تفرد بہ أبوداود، (تحفة الأشراف: 2496)، وقد أخرجہ: مسند احمد (3/306) (صحیح) »
Narrated Ali ibn Umar ibn Husayn ibn Ali: The Messenger of Allah ﷺ as saying: Do not go out much when there are few people about, for Allah the Exalted scatters abroad of His beasts in that hour (according to Ibn Marwan's version). Ibn Marwan's version has: For Allah has creatures. He then mentioned the barking of dogs and braying of asses in a similar manner. He added in his version: Ibn al-Had said: Shurahbil ibn al-Hajib told me on the authority of Jabir ibn Abdullah from the Messenger of Allah ﷺ similar to it.
Shaykh Umar Farooq Saeedi
Benefits and Issues: ➊ When, at night, the movement of people on the roads comes to a halt, one should avoid going outside without an extremely necessary reason.
➋ If, at night, the sound of dogs or donkeys is heard, one should recite: A‘udhu billahi min ash-shaytan ir-rajim (I seek refuge with Allah from the accursed Satan).
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 5104