If keeping a dog outdoors is against the law then one is not permitted to have one. Perhaps you can get a different means of protection such as a security alarm.
ASK is paused while we upgrade it
We’re working on a new version of Al-Islam.org, and we want ASK to be part of it in a better form. To make sure your questions reach our scholars clearly and get the answers they deserve, we’ve paused new submissions until the new site launches. If you sent a question recently and didn’t hear back, we’re sorry. You’ll be invited to ask again once ASK returns.
If keeping a dog outdoors is against the law then one is not permitted to have one. Perhaps you can get a different means of protection such as a security alarm.