"The Messenger of Allah ﷺ ordered killing dogs, except for the hunting dog, or the dog that guards livestock." It was said to him: "Abu Hurairah would say: 'or a farm dog' so he (Ibn 'Umar) said: "Abu Hurairah had a farm."
أَنَّ رَسُولَ اللَّهِ ﷺ أَمَرَ بِقَتْلِ الْكِلاَبِ إِلاَّ كَلْبَ صَيْدٍ أَوْ كَلْبَ مَاشِيَةٍ قَالَ قِيلَ لَهُ إِنَّ أَبَا هُرَيْرَةَ كَانَ يَقُولُ أَوْ كَلْبَ زَرْعٍ فَقَالَ إِنَّ أَبَا هُرَيْرَةَ لَهُ زَرْعٌ