Jabir bin Abdullah reported,

He said, "The Messenger of Allah ﷺ commanded us to kill dogs, so much so that when a woman came in from the desert with her dog, we would kill it. Then the Prophet ﷺ forbade killing them and said, 'You must kill the pure black dog with two spots, for it is a devil.'"

Azami 8235

Sahih

عن جابر بن عبد الله

قال أمرنا رسول الله ﷺ بقتل الكلاب حتى إن المرأة تقدم من البادية بكلبها فنقتله، ثم نهى النبي ﷺ عن قتلها وقال: عليكم بالأسود البهيم ذي النقطتين فإنه شيطان.

الأعظمي 8235صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Beginning of creation
Section
Devil appearing in various forms
Numbering
Jami al-Kamil 8235 (2nd edition)
Azami 8235