حَدَّثَنَا حَفْصُ بْنُ عُمَرَ، حَدَّثَنَا شُعْبَةُ، ح وَحَدَّثَنَا عَبْدُ السَّلاَمِ بْنُ مُطَهَّرٍ، وَابْنُ، كَثِيرٍ - الْمَعْنَى - أَنَّ سُلَيْمَانَ بْنَ الْمُغِيرَةِ، أَخْبَرَهُمْ عَنْ حُمَيْدِ بْنِ هِلاَلٍ، عَنْ عَبْدِ اللَّهِ بْنِ الصَّامِتِ، عَنْ أَبِي ذَرٍّ، - قَالَ حَفْصٌ - قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم وَقَالاَ عَنْ سُلَيْمَانَ قَالَ أَبُو ذَرٍّ ‏"‏ يَقْطَعُ صَلاَةَ الرَّجُلِ - إِذَا لَمْ يَكُنْ بَيْنَ يَدَيْهِ قِيدُ آخِرَةِ الرَّحْلِ الْحِمَارُ وَالْكَلْبُ الأَسْوَدُ وَالْمَرْأَةُ ‏"‏ ‏.‏ فَقُلْتُ مَا بَالُ الأَسْوَدِ مِنَ الأَحْمَرِ مِنَ الأَصْفَرِ مِنَ الأَبْيَضِ فَقَالَ يَا ابْنَ أَخِي سَأَلْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم كَمَا سَأَلْتَنِي فَقَالَ ‏"‏الْكَلْبُ الأَسْوَدُ شَيْطَانٌ ‏"
Translation
Hafs reported that the Messenger of Allah(ﷺ) as saying, and the other version of this tradition transmitted through a different chain has

Abu Dharr said: The Messenger of Allah (ﷺ) said — and Sulayman said: Abu Dharr said: — "A man's prayer is interrupted — if he does not have before him something equivalent to the back of a saddle — by a donkey, a black dog, and a woman." I said: What is the case with the black dog as opposed to the red, the yellow, and the white? He replied: O my nephew, I asked the Messenger of Allah (ﷺ) just as you asked me, and he said: "The black dog is a devil."