Sunan Abi Dawud, Book 17, Hadith 2 (Abu Dawud 2846)

Narrated Abdullah ibn Mughaffal:

The Prophet (ﷺ) said: Were dogs not a species of creature I should command that they all be killed; but kill every pure black one.