It was narrated from 'Abdullah bin Mughaffal that the Prophet said: "Whoever keeps a dog, except a dog for hunting, herding livestock or farming, one Qurat will be deducted from his reward each day".
This hadith also teaches us about the importance of following Allah’s commands and doing good deeds in order to receive rewards from Him. We must remember that all our actions have consequences and we must be mindful of how we spend our time and energy so that we can maximize our rewards from Allah on the Day of Judgment.