https://abukhadeejah.com/dog-as-pets-guard-dogs-sheepdogs-hunting-hounds/
The Permissibility of Keeping Dogs for Hunting, Guarding and Herding―and it is Harām to Keep them as Pets or to Buy and Sell them.