(7) باب ذِكْرِ مَا يَقْطَعُ الصَّلاَةَ وَمَا لاَ يَقْطَعُ إِذَا لَمْ يَكُنْ بَيْنَ يَدَىِ الْمُصَلِّي سُتْرَةٌ
It was narrated that Abu Dharr said:
The messenger of Allah(ﷺ) said: "When anyone of you stands to pray, then he is screened if he has in front of him something as high as the back of a camel saddle. If he does not have something as high as the back of a camel saddle in front of him, then his prayer is nullified by a woman, a donkey or a black dog." I (one of the narrators)said: "What is the difference between a black dog, a yellow one and a red one?" He said: I asked the Messenger of Allah (ﷺ) just like you and he said:"The black dog is a shaitan."
Reference: Sunan an-Nasa'i 750
In-book reference: Book 9, Hadith 9
English translation: Vol. 1, Book 9, Hadith 751