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.
Related hadith on this topic
Explanation & Benefits
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