Al-Qurtubee رحمه الله mentioned,
Some of the Tābi’oon (students of the Companions) stated:
“Whoever has many sins, then upon them is to provide water. For Allāh forgave the sins of the one who provided water to a dog, so how about the one who provides water to a believing man (or woman) who is upon Tawheed (worships Allāh alone without associating partners) and gives him life (saving him by way of the water)?”
[Tafseer of Al-Qurtbee, Soorah al-‘Arāf, verse 50, vol.9, pg.233, Resalah Publishers, 1st edition]