Keeping dogs guard houses

Is it permissible to keep dogs to guard houses?

Answer:

The Prophet (peace and blessings of Allaah be upon him) made only three exceptions to the prohibition on keeping dogs: hunting, guarding livestock and guarding crops.

Some scholars are of the view that it is not permissible to keep a dog for any reason other than these three. Others are of the view that it is permissible to draw analogies between these three and similar or more likely cases, such as guarding houses, because if it is permissible to keep dogs to guard livestock and crops, it is more appropriate that it should be permissible to keep dogs to guard houses.

Al-Nawawi said in Sharh Muslim (10/340):

Is it permissible to keep a dog to guard houses, alleys and the like? There are two points of view. The first is that it is not permissible, because of the apparent meaning of the ahaadeeth, which clearly state that keeping dogs is forbidden except for farming, hunting and herding. The more correct view is that it is permissible, by analogy with those three cases, knowing that the reason that is understood from the ahaadeeth is necessity. End quote.

The view that was classed as saheeh by al-Nawawi (may Allaah have mercy on him), that keeping a dog to guard the house is permissible, was also classed as saheeh by Shaykh Ibn ‘Uthaymeen (may Allaah have mercy on him) in Sharh Saheeh Muslim. He said:

The correct view is that it is permissible to keep a dog to guard the house, because if it is permissible to keep a dog in order to benefit from it, as in the case of hunting, it is more appropriate that one be allowed to keep a dog in order to ward off harm and protect oneself.

End quote.

http://path-to-peace.com/community/showthread.php?t=5858