(37) باب تَحْرِيمِ تَعْذِيبِ الْهِرَّةِ وَنَحْوِهَا مِنَ الْحَيَوَانِ الَّذِي لاَ يُؤْذِي
This hadith has been reported on the authority of Ibn 'Umar through another chain of transmitters. And Ibn 'Umar reported Allah's Messenger (ﷺ) as saying:
A woman was tormented because of a cat which she had tied and thus allowed it neither to eat or drink nor set it free so that it might eat the vermin of the earth.
Reference: Sahih Muslim 2242 f
In-book reference: Book 45, Hadith 174
USC-MSA web (English) reference(deprecated numbering scheme): Book 32, Hadith 6346