Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Once a dog was circling a well, nearly dying of thirst, when one of the prostitutes of the Children of Israil saw it. She removed her leather sock, drew water with it, and gave the dog to drink. For this, she was forgiven."

Azami 8282

Sahih

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

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

الأعظمي 8282صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
News of the ancients
Section
Story of a prostitute who gave water to a thirsty dog with her shoe, so Allah forgave her
Numbering
Jami al-Kamil 8282 (2nd edition)
Azami 8282