Narrated 'Abdullah bin Mughaffal:
I was one of those who held up the branches from the tree away from the face of the Messenger of Allah (ﷺ) while he was delivering the Khutbah saying: 'If it were not that dogs were a nation among nations, then I would order that they be killed. So kill every one among them that is all black. There is one inhabiting a home in which they keep a dog but their deeds are decreased by one Qirat every day - except for a hunting dog, or a farm dog, or a sheep dog.'