It's not forbidden to touch dogs - but it is required to cleanse oneself afterwards. Dogs are permitted if they "serve a purpose" generally interpreted to provide a service, (herding, hunting, etc.)

A lot of people are afraid of or don't like dogs here because of the possibility of rabies amongst the feral population.

I have always lived in at least 95 - 99% Muslim neighbourhoods, the worst I've experienced is kids ringing the doorbell to make her bark. If possible, I would try to get a stand alone villa - then you don't have to worry about women like jjj75 mentioned.

It is important that the dog have access to AC especially in the summer months and always cool water.