Abu Dharr reported,

The Messenger of Allah ﷺ said, "When a man prays and there is nothing in front of him like the back of a saddle or the middle of a saddle, his prayer is broken by a black dog, a woman, or a donkey."I asked Abu Dharr, "What is the difference between a black dog and a red one or a white one?"He replied, "Nephew, you have asked me just as I asked the Messenger of Allah ﷺ, and he said, 'The black dog is a devil.'"

Tirmidhi 338

Sahih

حدثنا أحمد بن منيع حدثنا هشيم أخبرنا يونس بن عبيد ومنصور بن زاذان عن حميد بن هلال عن عبد الله بن الصامت قال سمعت

أبا ذر يقول

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

الترمذي 338صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Prayer
Chapter
Only the dog, the donkey, and the woman interrupt the prayer
Numbering
Darussalam 338
Tirmidhi 338