Al-Adab Al-Mufrad, Book 51, Hadith 1233 (English) ⓘ
Jabir ibn 'Abdullah reported that the Prophet, may Allah bless him and grant him peace, said "Do not go out often after the night is still. Allah has animals which he sends out. Anyone who hears the barking of a dog or the braying of a donkey should seek refuge with Allah from the Accursed Shaytan. They see what you do not see."
حَدَّثَنَا عَبْدُ اللهِ بْنُ صَالِحٍ قَالَ: حَدَّثَنِي اللَّيْثُ قَالَ: حَدَّثَنِي خَالِدُ بْنُ يَزِيدَ، عَنْ سَعِيدِ بْنِ أَبِي هِلاَلٍ، عَنْ سَعِيدِ بْنِ زِيَادٍ، عَنْ جَابِرِ بْنِ عَبْدِ اللهِ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ: أَقِلُّوا الْخُرُوجَ بَعْدَ هُدُوءٍ، فَإِنَّ لِلَّهِ دَوَابَّ يَبُثُّهُنَّ، فَمَنْ سَمِعَ نُبَاحَ الْكَلْبِ، أَوْ نُهَاقَ حِمَارٍ، فَلْيَسْتَعِذْ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ، فَإِنَّهُمْ يَرَوْنَ مَا لا تَرَوْنَ.
also referenced under: Hadith 1233 (Reference) & Book 51, Hadith 1233 (In-Book)