Abu Hurairah reported,

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

Azami 14793

Sahih

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

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

الأعظمي 14793صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Kindness to animals
Section
Virtue of watering animals
Numbering
Jami al-Kamil 14793 (2nd edition)
Azami 14793