It was narrated from Abu Hurairah that:
The Messenger of Allah said: "Cats do not invalidate the prayer, because they are one of the things that are useful in the house." (TH)
English reference (TH): Vol. 1, Book 1, Hadith 369 (TH)
Arabic reference (TH): Book 1, Hadith 399 (TH)