That the Messenger of Allah (ﷺ) said: "Whoever keeps a dog" - or: "acquires a dog" - "neither of hunting nor to guard livestock, then two Qirat are deducted from his reward, daily."
Jami` at-Tirmidhi Book 18, Hadith 29