Do angels refrain from entering a place where there is a dog?
Some people have read in the Sunnah that angels do not enter a house where there is a dog or a statue. The hadith, which is authentic, narrates that Jibril was once late in visiting the Messenger of God (peace and blessings be upon him) although he had promised he would visit him. The Messenger went out of his house to wait for Jibril and when he turned up, the Messenger inquired about the reason for his delay.
Jibril said that the reason was because there was a puppy under the Messenger’s bed.
The point is that the angel’s refusal to enter a place where there is a dog does not evidence the impurity of dogs but rather that the angels, who belong to the realm of the unseen, do not like to enter a place where a dog is present.
In our lives, a person may refrain from something although it is permissible. Therefore, whoever wants to raise a dog at home, must allocate a place for it or allocate a place for prayers so that the angels may enter the house. The Prophet (peace and blessings be upon him) once contemplated exterminating dogs on the basis that angels dislike them and so Jibril came to him and said, “They are a nation among nations.”
It is permissible to keep a dog in the house and you can dedicate a special room for prayers where dogs are not allowed to enter.
God the Almighty knows best.