Sahih Muslim, Book 39, Hadith 206 (Muslim 5796)

Abu Huraira reported Allah's Messenger (ﷺ) as saying:

A woman was punished because of a cat. She had neither provided her with food nor drink, nor set her free so that she might eat the vermin of the earth.