Mishkat al-Masabih #2314
Supplications
The Arabic includes the chain of narration (sanad) and the collector's commentary; the English translation shows the Prophet's words only.
وَعَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا سَمِعْتُمْ صِيَاحَ الدِّيَكَةِ فَسَلُوا اللَّهَ مِنْ فَضْلِهِ فَإِنَّهَا رَأَتْ مَلَكًا وَإِذَا سَمِعْتُمْ نَهِيقَ الْحِمَارِ فَتَعَوَّذُوا بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ فَإِنَّهُ رَأَى شَيْطَانا»
Abu Huraira reported God's messenger as saying, “When you hear the cocks crowing ask God for some of His grace, for they have seen an angel; but when you hear an ass braying seek refuge in God from the devil, for it has seen a devil.”
(Bukhari and Muslim.)
Topics
About Mishkat al-Masabih
This hadith is #2314 from Mishkat al-Masabih, in the Book of Supplications.