Sahih Bukhari | Volume 4 | Hadith Number 673

Narrated by Abu Huraira
The Prophet said, "While a dog was going round a well and was about to die of thirst, an Israeli prostitute saw it and took off her shoe and watered it. So Allah forgave her because

of that good deed."