Below are a number of Hadith on various aspects involving dogs. All Hadith are from the Sahih collections of Bukhari[1] and Muslim[2], or the Sunan of Abu Dawud[3]. After the Quran, Bukhari's set of Hadith are regarded to be the second most important books in Islam, followed closely by the Hadith of Muslim. I quote from these sources to prove that these Hadith are not just a few isolated or unsupported cases. I have sorted Muhammad's statements concerning dogs into 5 categories. All of these illustrate different facets of his beliefs regarding dogs.
1)
KILL THE DOGS
From Bukhari Vol. 4, #540
Narrated 'Abdullah bin 'Umar: Allah's Apostle ordered that the dogs should be killed.
From Abu Dawud #2839
Abd Allah B. Mughaffal reported the apostle of Allah as saying: Were dogs not a species of creature I should command that they all be killed; but kill every pure black one.
The Hadith's note for #2839 says, "The prophet did not order the killing of all the dogs, for some are to be retained for hunting and watching. He ordered to kill the jet black ones. They might be more mischievous among them.
From Muslim #3814
Ibn Mughaffal reported: Allah's messenger ordered the killing of dogs and then said, "what is the trouble with them (the people of Medina? How dogs are nuisances to them (the citizens of Medina)? He then permitted keeping of dogs for hunting and (the protection of) herds. ...[and for] for the protection of cultivated land.
From Muslim #Number 055
Ibn Mughaffal reported: The Messenger of Allah ordered killing of the dogs, and then said: What about them, i. e. about other dogs? and then granted concession (to keep) the dog for hunting and the dog for (the security) of the herd, and said: When the dog licks the utensil, wash it seven times, and rub it with earth the eighth time.
From Muslim #3813
Abu Zubair heard Jabir Abdullah saying: Allah's messenger ordered us to kill dogs and we carried out this order so much so that we also killed the dog roaming with a women from the desert. Then Allah's apostle forbade their killing. He said: "It is your duty to kill the jet-black (dog) having two spots (on the eyes) for it is a devil.
The note for #3814 says,
"The Hadith gives us an idea why the prophet commanded to kill dogs. There must have been an excess of stray dogs and thus the danger of rabies in the city of Medina and its suburbs. The prophet therefore ordered to kill them. Later on when it was found that his Companions were killing them indiscriminately, he forbade them to do so and told them that only the ferocious beasts which were a source of danger to life should be killed. The word "Devil" in the Hadith clarifies this point. Here devil stands for ferocious.
HOWEVER THE REASONING WITHIN THE NOTE ABOVE IS INCORRECT READ BELOW.
From Muslim #5248
Maimuna reported that one morning Allahs Messenger was silent with grief. Maimuna said: Allahs Messenger, I find a change in your mood today. Allahs Messenger said: Gabriel had promised me that he would meet me tonight, but he did not meet me. By Allah, he never broke his promises, and Allahs Messenger spent the day in this sad mood. Then it occurred to him that there had been a puppy under their cot. He commanded and it was turned out. He then took some water in his hand and sprinkled it at that place. When it was evening Gabriel met him and he said to him: You promised me that you would meet me the previous night. He said: Yes, but we do not enter a house in which there is a dog or a picture. Then on that very morning he commanded the killing of the dogs until he announced that the dog kept for the orchards should also be killed, but he spared the dog meant for the protection of extensive fields or big gardens.
COMMENT
These Hadith tell the story of Muhammad's order to kill dogs. Muhammad said he would like to have all dogs killed. He wanted them killed, NOT because packs of dogs were tormenting the citizens of Medina, but rather, because a puppy stopped the mighty angel Gabriel. Muhammads solution was to kill the dogs. He first said he wanted all dogs killed but then made exceptions for dogs that are used for farming, hunting, or watching (outside). Further, he ordered that all black dogs be killed and called them "a Satan".
http://www.answering-islam.org/Silas/dogs.htm