Sunan an Nasai
4288
Sahih+2

It was narrated from 'Abdullah bin Mughaffal that the Prophet said:"Whoever keeps a dog, except a dog for hunting, herding livestock or farming, one Qurat will be deducted from his reward each day

SahihAbu Ghuddah
SahihAl-Albani