Chapter: The command to kill dogs, and its abrogation. The prohibition of keeping dogs, except for hunting, farming, (herding) livestock and the like
Abu Huraira (Allah be pleased with him) reported Allah's Messenger ( صلی اللہ علیہ وسلم ) as saying: He who kept a dog would lose out of his deeds equal to one qirat every day. except (one kept) for watching the field or herd.
Authentic