BAYHAQI 1185:
from Ibn Mughaffal —
[Machine] The Messenger of Allah ﷺ ordered the killing of dogs, then he said, "What is the matter with you and them?" He exempted the hunting dog and the sheepdog, and he said, "When a dog licks a utensil, wash it seven times, and the eighth time wash it with soil."
البيهقي ١١٨٥:
عن ابن مغفل —
أَمَرَ رَسُولُ اللهِ ﷺ بِقَتْلِ الْكِلَابِ ثُمَّ قَالَ مَا لَكُمْ وَلَهَا فَرَخَّصَ فِي كَلْبِ الصَّيْدِ وَكَلْبِ الْغَنَمِ وَقَالَ إِذَا وَلَغَ الْكَلْبُ فِي الْإِنَاءِ فَاغْسِلُوهُ سَبْعَ مَرَّاتٍ وَعَفِّرُوهُ الثَّامِنَةَ بِالتُّرَابِ
hadithunlocked.com