الْأَدَبُ الْمُفْرَدُ
Al-Adab al-Mufrad 1236
Animals
حَدَّثَنَا عَبْدُ اللهِ بْنُ صَالِحٍ قَالَ: حَدَّثَنِي اللَّيْثُ قَالَ: حَدَّثَنِي جَعْفَرُ بْنُ رَبِيعَةَ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ هُرْمُزَ، عَنْ أَبِي هُرَيْرَةَ، عَنْ رَسُولِ اللهِ صلى الله عليه وسلم أَنَّهُ قَالَ: إِذَا سَمِعْتُمْ صِيَاحَ الدِّيَكَةِ مِنَ اللَّيْلِ، فَإِنَّهَا رَأَتْ مَلَكًا، فَسَلُوا اللَّهَ مِنْ فَضْلِهِ، وَإِذَا سَمِعْتُمْ نُهَاقَ الْحَمِيرِ مِنَ اللَّيْلِ، فَإِنَّهَا رَأَتْ شَيْطَانًا، فَتَعَوَّذُوا بِاللَّهِ مِنَ الشَّيْطَانِ.
Abu Hurayra reported that the Messenger of Allah, (ﷺ), said, "When you hear the crowing of a cock in the night, it has seen an angel. Ask Allah for its blessing. If you hear the braying of a donkey in the night, it has seen a shaytan, so seek refuge with Allah from shaytan."
Sunnah.com reference: Book 1, Hadith 5Sahih (Al-Albani)صـحـيـح (الألباني)