Hadithcore
Sahih Muslim, 280a
sahih

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.

وَحَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُعَاذٍ، حَدَّثَنَا أَبِي، حَدَّثَنَا شُعْبَةُ، عَنْ أَبِي التَّيَّاحِ، سَمِعَ مُطَرِّفَ بْنَ عَبْدِ اللَّهِ، يُحَدِّثُ عَنِ ابْنِ الْمُغَفَّلِ، قَالَ أَمَرَ رَسُولُ اللَّهِ صلى الله عليه وسلم بِقَتْلِ الْكِلاَبِ ثُمَّ قَالَ ‏"‏ مَا بَالُهُمْ وَبَالُ الْكِلاَبِ ‏"‏ ‏.‏ ثُمَّ رَخَّصَ فِي كَلْبِ الصَّيْدِ وَكَلْبِ الْغَنَمِ وَقَالَ ‏"‏ إِذَا وَلَغَ الْكَلْبُ فِي الإِنَاءِ فَاغْسِلُوهُ سَبْعَ مَرَّاتٍ وَعَفِّرُوهُ الثَّامِنَةَ فِي التُّرَابِ ‏"‏ ‏.‏

References2 variants
In-Book Reference
Book 2, Hadith 119
USC-MSA web (English) reference
Book 2, Hadith 551 (deprecated numbering scheme)
Sharh · explanationclick to expand
Dogs are animals with many different characteristics. Some are beneficial while others are harmful. The Prophet (ﷺ) showed how to deal with these various types. In this hadith, Abdullah ibn Mughaffal narrated that the Prophet (ﷺ), for a while, ordered killing dogs. Later, he abrogated the former rule and said, "'What is their trouble with dogs?" Moreover, he granted permission to keep dogs for hunting, guarding sheep, and protecting cultivated land. Also, he guided people on how to wash utensils that dogs licked. They should be washed seven times with water and rubbed with earth the eighth time. It proves that both dogs' saliva and leftovers are impure. In Sahih Muslim, Abu Hurairah narrated that the Prophet (ﷺ) ordered to wash that type of vessels with water seven times, and the first washing should be with the earth. Washing it seven times is out of devotion or due to the impure saliva. In Nasa'i's narration, the Prophet (ﷺ) said, “One of them is with the earth," So, it is not a prerequisite to make the first washing with the earth. Using the earth is due to its ability to kill diseases of dogs' saliva stuck to vessels, which water only is not able to remove. Repeated washing with water is to make sure that a vessel becomes pure. There is no difference between types of dogs in this regard, whether or not, it is permissible to own it. Finally, this hadith confirms how Islam prevents anything that may cause harm to Muslims..
Related hadiths3
Compare isnād across 3 related chains →