Sunan an Nasai
4278
Sahih+2

Salim bin 'Abdullah narrated that his father said:"I heard the Messenger of Allah raise his voice with the command to kill dogs. All dogs were to be killed except dogs used for hunting or herding livestock

SahihAbu Ghuddah
SahihAl-Albani