This is part 5 of 5 of “The Book of Greetings”, book 39 of Sahih Muslim — Hadith 5,852–5,861. The book is long enough that it is split across 5 pages so each one stays quick to load; the parts run in order and are linked at the foot of the page.
Nafi' reported from 'Abdullah that Allah's Messenger (ﷺ) said:A woman was punished because she had kept a cat tied until it died, and (as a punishment of this offence) she was thrown into the Hell. She had not provided it with food, or drink, and had not freed her so that she could eat the vermin of the earth
وَحَدَّثَنَا أَبُو كُرَيْبٍ، حَدَّثَنَا عَبْدَةُ، عَنْ هِشَامٍ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " عُذِّبَتِ امْرَأَةٌ فِي هِرَّةٍ لَمْ تُطْعِمْهَا وَلَمْ تَسْقِهَا وَلَمْ تَتْرُكْهَا تَأْكُلُ مِنْ خَشَاشِ الأَرْضِ " .
Abu Huraira reported Allah's Messenger (ﷺ) as saying:A woman was punished because of a cat. She had neither provided her with food nor drink, nor set her free so that she might eat the vermin of the earth
Abu Huraira reported Allah's Messenger (ﷺ) as sayings:A person suffered from intense thirst while on a journey, when he found a well. He climbed down into it and drank (water) and then came out and saw a dog lolling its tongue on account of thirst and eating the moistened earth. The person said: This dog has suffered from thirst as I had suffered from it. He climbed down into the well, filled his shoe with water, then caught it in his mouth until he climbed up and made the dog drink it. So Allah appreciated this act of his and pardoned him. Then (the Companions around him) said: Allah's Messenger, is there for us a reward even for (serving) such animals? He said: Yes, there is a reward for service to every living animal
Abu Huraira reported Allah's Messenger (may pace be upon him) as saying:A prostitute saw a dog moving around a well on a hot day and hanging out its tongue because of thirst. She drew water for it in her shoe and she was pardoned (for this act of hers)
Abu Huraira reported Allah's Messenger (ﷺ) as saying:There was a dog moving around a well whom thirst would have killed. Suddenly a prostitute from the prostitutes of Bani Isra'il happened to see it and she drew water in her shoe and made it drink, and she was pardoned because of this
Text from the open hadith-api dataset. Hadith numbering follows that edition and can differ slightly from a printed copy — check the Arabic against a trusted mushaf of hadith before relying on a reference.