It was narrated from Ibn 'Umar that:
the Messenger of Allah commanded that dogs be killed, except those which were exempted.