Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) narrates that the Prophet (peace and blessings be upon him) said: "Whoever keeps a dog that is not for (guarding) livestock and is not a hunting dog, two qirats are deducted from that person's reward every day."
Abu Ya'la recorded it; its chain contains a narrator, Sallam bin Abi Khubzah, and he is a fabricator of hadith.