Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:5103Hannād b. al-Sarī > ʿAbdah > Muḥammad b. Isḥāq > Muḥammad b. Ibrāhīm > ʿAṭāʾ b. Yasār > Jābir b. ʿAbdullāh

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.  

أبو داود:٥١٠٣حَدَّثَنَا هَنَّادُ بْنُ السَّرِيِّ عَنْ عَبْدَةَ عَنْ مُحَمَّدِ بْنِ إِسْحَاقَ عَنْ مُحَمَّدِ بْنِ إِبْرَاهِيمَ عَنْ عَطَاءِ بْنِ يَسَارٍ عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ إِذَا سَمِعْتُمْ نُبَاحَ الْكِلاَبِ وَنَهِيقَ الْحُمُرِ بِاللَّيْلِ فَتَعَوَّذُوا بِاللَّهِ فَإِنَّهُنَّ يَرَيْنَ مَا لاَ تَرَوْنَ  


See similar narrations below:

Collected by Suyūṭī
suyuti:2001a

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. (Using translation from Abū Dāʾūd 5103)   

السيوطي:٢٠٠١a

"إذا سَمِعْتُمْ نهيقَ حمارٍ أو نُباحَ كلبٍ أو صوتَ دِيك بالليل فتعوذُوا بالله مِنْ شَر الشيطان؛ فإِنَّهُنَّ يرْين ما لا تَرَوْنَ".  

ابن السنى في عمل اليوم والليلة عن أبي هريرة