Sahih al-Bukhari 3482
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
عُذِّبَتِ امْرَأَةٌ فِي هِرَّةٍ سَجَنَتْهَا حَتَّى مَاتَتْ، فَدَخَلَتْ فِيهَا النَّارَ، لاَ هِيَ أَطْعَمَتْهَا وَلاَ سَقَتْهَا إِذْ حَبَسَتْهَا، وَلاَ هِيَ تَرَكَتْهَا تَأْكُلُ مِنْ خَشَاشِ الأَرْضِ "
Narrated `Abdullah bin `Umar:
Allah's Messenger (ﷺ) said, "A lady was punished because of a cat which she had imprisoned till it died. She entered the (Hell) Fire because of it, for she neither gave it food nor water as she had imprisoned it, nor set it free to eat from the vermin of the earth."
Full reference and source
Sahih al-Bukhari 3482 In-book : Book 60, Hadith 149 USC-MSA web (English) : Vol. 4, Book 55, Hadith 689 (deprecated)
View source on Sunnah.com (opens in a new tab)