Abu Dharr reported,

The Messenger of Allah ﷺ said, "When one of you stands to pray, what serves as a barrier in front of him is something the height of the back of a saddle. If there is nothing the height of the back of a saddle in front of him, then his prayer is broken by a donkey, a woman, or a black dog passing by."I asked, "Abu Dharr, what is special about a black dog as opposed to a red dog or a yellow dog?"He replied, "Nephew, I asked the Messenger of Allah ﷺ the same question you have asked me, and he said, 'The black dog is a devil.'"

Ahmad 21424

Sahih

حدثنا إسماعيل عن يونس عن حميد بن هلال عن عبد الله بن الصامت

عن أبي ذر قال

قال رسول الله ﷺ إذا أحدكم قام يصلي فإنه يستره إذا كان بين يديه مثل آخرة الرحل فإن لم يكن بين يديه مثل آخرة الرحل فإنه يقطع صلاته الحمار والمرأة والكلب الأسود قال فقلت يا أبا ذر ما بال الكلب الأسود من الكلب الأحمر من الكلب الأصفر فقال يا ابن أخي سألت رسول الله ﷺ كما سألتني فقال الكلب الأسود شيطان

أحمد 21424صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Dharr Ghifari
Numbering
Darussalam 21424
Ahmad 21424