Answered by Shaykh Amjad Rasheed
If one has a dog or pictures in one’s home, does this affect the acceptance of one’s prayer or other acts of worship? What if the room that one prays in does not have any pictures and the dog does not enter it? Would the angels then enter it, without the rest of the house?
It is obvious that acquiring a dog without need is haram and it prevents the angels of mercy from entering the place that they are in. Likewise, acquiring pictures of things that could have souls, such as pictures of humans and animals is haram, and it also prevents those angels from entering, as we said.
However, their presence does not affect the validity of the prayer, so whoever prays in a place that has a dog or pictures, his prayer is valid and he does not need to repeat it. It seems that a room that does not have pictures or a dog would be entered by the angels of mercy, because it does not contain anything prohibited in it, and Allah knows best.
[s. If the moisture from a dog (or dry dog hair) affects one’s person, clothes or place of prayer, one’s prayer would be invalid, until he purified them, see Reliance of the Traveller, e14.1(14), e14.7 and f4.0.]
الجواب : لا يخفى أن اقتناءَ الكلب من غير حاجة حرامٌ وهو مانعٌ من دخول ملائكة الرحمة للمكان الذي هو فيه ، وكذلك اقنتاءُ صور ذات الروح كالإنسان والحيوان حرام ، ويمنع دخول ملائكة الرحمة كما مرَّ ، لكنْ وجودُ ذلك لا يمنع صحةَ الصلاة فمن صلى في محلٍّ فيه كلبٌ أو صورةٌ فصلاته صحيحةٌ لا يجب عليه إعادتها ، والظاهر أن الغرفة الخالية من الصور والكلب تدخلها ملائكة الرحمة لانتفاء المحذور فيها ؛ والله أعلم .