Sunan an-Nasa'i #4287
The Book of Hunting and Slaughtering 42:25
It was narrated from Salim, from his father, that the Messenger of Allah said:
"Whoever keeps a dog. Except a dog for hunting or herding livestock, two Qirats will be deducted from his reward each day."