Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates that the Prophet Muhammad (peace and blessings be upon him) said: "A man came to a well, he went down into it and drank water from it. At the edge of the well, there was a dog panting. The man felt compassion for it. He took off one of his socks, filled it with water, and gave the dog to drink. Allah Almighty accepted this deed of his and admitted him into Paradise."