Abdullah bin Umar reported,

The Messenger of Allah ﷺ said, "A woman was punished because of a cat she had imprisoned until it died, and because of it she entered the Fire. She neither fed it nor gave it water when she confined it, nor did she let it free to eat from the creatures of the earth."

Azami 16496

Sahih

عن عبد الله بن عمر

أن رسول الله ﷺ، قال: عذبت امرأة في هرة سجنتها حتى ماتت، فدخلت فيها النار، لا هي أطعمتها ولا سقتها إذ حبستها، ولا هي تركتها تأكل من خشاش الأرض.

الأعظمي 16496صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Description of Paradise and Hell and their inhabitants
Chapter
People of the Fire, their description
Section
A woman entered Hell because of a cat
Numbering
Jami al-Kamil 16496 (2nd edition)
Azami 16496