Sahih Muslim #2619
The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship 45:176
Abu Huraira reported from Allah's Messenger (ﷺ) A hadith out of which one was this that Allah's Messenger (ﷺ) said:
A woman got into Hell-Fire because of a cat whom she had tied, and thus it could not eat, and she did not let it free so that it could devour the vermin of the earth, until it died.