Sayyiduna Ibn Umar (may Allah be pleased with them both) said that the Messenger of Allah (peace and blessings be upon him) said: "Whoever keeps a dog, one qirat is deducted from his deeds."