The Prophet (ﷺ) said, "A man saw a dog eating mud from (the severity of) thirst. So, that…

Sahih al-Bukhari Book 4 Hadith 39

Sahih al-Bukhari #173

Ablutions (Wudu') 4:39

Narrated Abu Huraira:

The Prophet (ﷺ) said, "A man saw a dog eating mud from (the severity of) thirst. So, that man took a shoe (and filled it) with water and kept on pouring the water for the dog till it quenched its thirst. So Allah approved of his deed and made him to enter Paradise."

Chapter: If a dog drinks from the utensil of any one of you then it is essential to wash it seven times

Grade: Sahih