Allah's Messenger (ﷺ) said, "If someone keeps a dog neither for guarding livestock, nor for hunting, his good deeds will decrease (in reward) by two Qirats a day.'
Sahih al-Bukhari Book 72, Hadith 8