Abu Dharr reported,

The Messenger of Allah ﷺ said, "When one of you stands to pray, what is in front of him serves as a barrier if it is the height of the rear of a camel saddle. If there is nothing in front of him the height of a camel saddle's rear, then his prayer is cut off by a donkey, a woman, or a black dog passing in front of him."I asked, "Abu Dharr, what distinguishes the black dog from the red dog or the yellow dog?"He replied, "Nephew, I asked the Messenger of Allah ﷺ just as you have asked me, and he said, 'The black dog is a devil.'"

Azami 2526

Sahih

عن أبي ذر قال

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

الأعظمي 2526صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Sutrah
Section
What interrupts prayer
Numbering
Jami al-Kamil 2526 (2nd edition)
Azami 2526