the Messenger of Allah commanded that dogs be killed, except those which were exempted.

Sunan an-Nasa'i Book 42 Hadith 15

Sunan an-Nasa'i #4277

The Book of Hunting and Slaughtering 42:15

It was narrated from Ibn 'Umar that:

the Messenger of Allah commanded that dogs be killed, except those which were exempted.

Chapter: The Command To Kill dogs

Grade: Sahih (Darussalam)