Abu Dawud Book 10, Hadith Number 2840.
Chapter : To have a dog for hunting and some other purposes.
Narated By Jabir ibn Abdullah : The Prophet of Allah (PBUH) ordered to kill dogs, and we were even killing a dog which a woman brought with her from the desert. Afterwards he forbade to kill them, saying: Confine yourselves to the type which is black.