Sahih Muslim 2242 d
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
عُذِّبَتِ امْرَأَةٌ فِي هِرَّةٍ سَجَنَتْهَا حَتَّى مَاتَتْ فَدَخَلَتْ فِيهَا النَّارَ لاَ هِيَ أَطْعَمَتْهَا وَسَقَتْهَا إِذْ هِيَ حَبَسَتْهَا وَلاَ هِيَ تَرَكَتْهَا تَأْكُلُ مِنْ خَشَاشِ الأَرْضِ "
Abdullah reported that Allah's Messenger (ﷺ) said:
A woman was tormented because of a cat which she had confined until it died and she had to get into Hell. She did not allow it either to eat or drink as it was confined, nor did she free it so that it might eat the vermin of the earth.
Full reference and source
Sahih Muslim 2242 d In-book : Book 45, Hadith 172 USC-MSA web (English) : Book 32, Hadith 6345 (deprecated)
View source on Sunnah.com (opens in a new tab)