This hadeeth comes under the following chapter: COMMAND OF KILLING DOGS AND THEN ITS ABROGATION, AND PROHIBITION OF KEEPING THEM BUT FOR HUNTING AND PROTECTION OF LANDS OR CATTLE OR LIKE THAT
Abu Zubair heard Jabir b. 'Abdullah (Allaah be pleased with him) saying: Allaah's Messenger (sallAllaahu alayhi wa sallam) ordered us to kill dogs, and we carried out this order so much so that we also kill the dog coming with a woman from the desert. Then Allaah's Prophet (sallAllaahu alayhi wa sallam) forbade their killing. He (the Prophet further) said: It is your duty the jet-black (dog) having two spots (on the eyes), for it is a devil.