Sahih Bukhari Volume 7, Book 67, Hadith Number 390.
Narrated By ‘Abdullah bin Umar : I heard the Prophet saying, “If someone keeps a dog neither for hunting, nor for guarding livestock, the reward (for his good deeds) will be reduced by two Qirats per day.”