Sunan Abi Dawud, Book 43, Hadith 332 (Abu Dawud 5106)

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.