Sahih Bukhari Volume 007, Book 067, Hadith Number 389.

Narrated By Ibn 'Umar : The Prophet said, "Whoever keeps a (pet) dog which is neither a watch dog nor a hunting dog, will get a daily deduction of two Qirat from his good deeds."