Sayyiduna Abdullah bin Umar (may Allah be pleased with them) narrates that the Prophet Muhammad (peace and blessings be upon him) said: "Whoever keeps a dog, except for the purpose of guarding crops or livestock, two qirats are deducted from his reward every day."