Sahih al-Bukhari, Book 72, Hadith 7 (Bukhari 5269)

Narrated `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."