WE RELATE FROM the Ṣaḥīḥs of al-Bukhārī and Muslim that Abū Hurayrah (رَضِيَ اللَّهُ عَنْهُ) reported that the Messenger of Allah (صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ) said: “When you hear the braying of a donkey then seek protection in Allah from Shayṭān, for it has seen a devil; and if you hear a cock crow then ask Allah of His bounties, for it has seen an angel.” [1].
We relate in the Sunan of Abū Dāwūd that Jābir ibn ‘Abdullāh (رَضِيَ اللَّهُ عَنْهُ) related that the Messenger of Allah (صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ) said: “If you hear dogs barking or donkeys braying at night then seek protection from Allah from them, for they have seen something that you have not.” [2].
References
[1] Al-Bukhārī (2303), Muslim (2729), Abū Dāwūd (5102), and at-Tirmidhī (3455).
[2] Abū Dāwūd (5103).