Abu Hurairah reported,

The Messenger of Allah ﷺ said, "While a dog was circling a well, nearly dying of thirst, a prostitute from among the prostitutes of the Children of Israil saw it. She took off her leather sock, drew water with it, and gave the dog to drink. For that, she was forgiven."

Muslim 5861

Sahih

و حدثني أبو الطاهر أخبرنا عبد الله بن وهب أخبرني جرير بن حازم عن أيوب السختياني عن محمد بن سيرين

عن أبي هريرة قال

قال رسول الله ﷺ بينما كلب يطيف بركية قد كاد يقتله العطش إذ رأته بغي من بغايا بني إسرائيل فنزعت موقها فاستقت له به فسقته إياه فغفر لها به

مسلم 5861صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Peace
Chapter
Virtue of giving water to and feeding respected animals
Numbering
Darussalam 5861
Muslim 5861