The Messenger of Allah (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."
[Bukhari – Adab Al-Mufrad]