The prohibition of keeping dogs as pets in Islam is not dependent on the size or breed of the dog. The general ruling applies to all dogs. Exceptions are made based on the purpose of keeping the dog and the circumstances involved.