Mishkat al-Masabih 490
عَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا شَرِبَ الْكَلْبُ فِي إِنَاء أحدكُم فليغسله سبع مَرَّات» وَفِى رِوَايَةٍ لِمُسْلِمٍ: «طَهُورُ إِنَاءِ أَحَدِكُمْ إِذَا وَلَغَ فِيهِ الْكَلْبُ أَنْ يَغْسِلَهُ سَبْعَ مَرَّاتٍ أولَاهُنَّ بِالتُّرَابِ»
From Abu Hurayrah, who said: The Messenger of Allah ﷺ said: "When a dog drinks from the vessel of one of you, let him wash it seven times." In a narration of Muslim: "The purification of the vessel of one of you when a dog has lapped from it is that he washes it seven times, the first of them with earth."