Hadith 1903

Ibn ‘Umar and Abu Huraira reported God’s messenger as saying, “A woman was punished on account of a cat which she kept shut up till it died of hunger. She did not feed it or let it out so that it might eat things creeping on the earth.” (Bukhari and Muslim.)

وَعَنِ ابْنِ عُمَرَ وَأَبِي هُرَيْرَةَ قَالَا: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «عُذِّبَتِ امْرَأَةٌ فِي هِرَّةٍ أَمْسَكَتْهَا حَتَّى مَاتَتْ مِنَ الْجُوعِ فَلَمْ تَكُنْ تُطْعِمُهَا وَلَا تُرْسِلُهَا فَتَأْكُلَ مِنْ خَشَاشِ الْأَرْضِ»

Reference: 5619030
In-book reference: Book 6, Hadith 1903