Bulugh al-Maram 229
وَعَنْ أَبِي ذَرٍّ - رضي الله عنه - قَالَ: قَالَ رَسُولُ اللَّهِ - صلى الله عليه وسلم: «يَقْطَعُ صَلَاةَ الْمَرْءِ الْمُسْلِمِ - إِذَا لَمْ يَكُنْ بَيْنَ يَدَيْهِ مِثْلُ مُؤْخِرَةِ الرَّحْلِ - الْمَرْأَةُ, وَالْحِمَارُ, وَالْكَلْبُ الْأَسْوَدُ ... » الْحَدِيثَ. وَفِيهِ: «الْكَلْبُ الْأَسْوَدِ شَيْطَانٌ». أَخْرَجَهُ مُسْلِمٌ.
From Abu Dharr, may Allah be pleased with him, who said: The Messenger of Allah ﷺ said: "The prayer of a Muslim man is cut off, if there is not something like the back of a saddle in front of him, by a woman, a donkey and a black dog..." [and the rest of] the hadith. And in it: "The black dog is a devil." Reported by Muslim.