Sayyiduna Ibn Umar (may Allah be pleased with them both) narrated: The Messenger of Allah (peace and blessings be upon him) ordered us to kill dogs, except a hunting dog or a dog that guards livestock.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13366