Sunan Abi Dawud, Book 43, Hadith 331 (Abu Dawud 5105)

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.