(a) It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When a dog puts its mouth into the vessel of one of you, wash it seven times, the first or the last time with dust; and for a cat, once."
(b) Sayyiduna Abu Hurayrah (may Allah be pleased with him) says regarding the leftover of a cat that it is to be poured away and the vessel washed once or twice.
Ja'far bin Waqid also narrated it from Ibn Awn, from Muhammad, from Abu Hurayrah as marfu', inserted into the hadith; but the narration of the majority (of narrators) is more correct.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الطهارة / 1172