The Prophet (may Allah's peace and blessings be upon him) warned against keeping dogs except for the purposes of hunting or guarding livestock and crops. Whoever keeps a dog for other reasons will have two Qirāts, which is a specific measure known to Allah Almighty, deducted from the reward of his deeds each day.