The Messenger of Allah ﷺ said, "When one of you stands to pray, he is screened if there is something the size of the back of a saddle in front of him. If there is nothing the size of the back of a saddle in front of him, then his prayer is invalidated by a donkey, a woman, or a black dog passing by."I asked, "Abu Dharr, what is it about a black dog that distinguishes it from a red dog or a 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.'"
حدثنا إسماعيل عن يونس عن حميد بن هلال عن عبد الله بن صامت
قال رسول الله ﷺ إذا قام أحدكم يصلي فإنه يستره إذا كان بين يديه مثل آخرة الرحل فإذا لم يكن بين يديه مثل آخرة الرحل فإنه يقطع صلاته الحمار والمرأة والكلب الأسود قلت يا أبا ذر ما بال الكلب الأسود من الكلب الأحمر من الكلب الأصفر قال يا ابن أخي سألت رسول الله ﷺ كما سألتني فقال الكلب الأسود شيطان