(37) باب تَحْرِيمِ تَعْذِيبِ الْهِرَّةِ وَنَحْوِهَا مِنَ الْحَيَوَانِ الَّذِي لاَ يُؤْذِي
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.
Reference: Sahih Muslim 2242 d
In-book reference: Book 45, Hadith 172
USC-MSA web (English) reference(deprecated numbering scheme): Book 32, Hadith 6345