The Messenger of Allah ﷺ said, and Yazid said in his version of the report, I heard the Messenger of Allah ﷺ say, "When you hear the barking of dogs and the braying of donkeys at night, seek refuge with Allah, for they see what you do not see. Go out less when foot traffic has died down, for Allah sends forth in His night whatever He wills of His creation. Shut your doors and mention the name of Allah over them, for Satan does not open a door that has been shut with the name of Allah mentioned over it. Tie up your waterskins, cover your jars, and turn your vessels upside down."Yazid added, "And tie up your waterskins."
حدثنا محمد بن أبي عدي عن محمد بن إسحاق ح ويزيد قال أخبرنا محمد بن إسحاق المعنى عن محمد بن إبراهيم عن عطاء بن يسار
قال رسول الله ﷺ قال يزيد في حديثه سمعت رسول الله ﷺ يقول إذا سمعتم نباح الكلاب ونهاق الحمير من الليل فتعوذوا بالله فإنها ترى ما لا ترون وأقلوا الخروج إذا هدأت الرجل فإن الله عز وجل يبث في ليله من خلقه ما شاء وأجيفوا الأبواب واذكروا اسم الله عليها فإن الشيطان لا يفتح بابا أجيف وذكر اسم الله عليه وأوكئوا الأسقية وغطوا الجرار وأكفئوا الآنية قال يزيد وأوكئوا القرب
No references are available.
Its chain of transmission is hasan, because of Muhammad bin Ishaq, for he is a mudallis and has narrated using the ambiguous form "an," but the hadith has many corroborating narrations and supporting reports. Abu Dawud reported it (5/331, no. 5103) in the Book of Manners, in the chapter on what has been said about the rooster and livestock. Ibn Abu Shayba also reported it (10/421, no. 9855) in the Book of Supplication, in the chapter on the rooster when it crows, as did Ibn Hibban (1996, Mawarid), and Hakim (4/284), who graded it sahih, and Dhahabi agreed with him. The second part of the hadith has already passed shortly before, near the beginning of the Musnad of Jabir.