Ibn ‘Umar relates that the Prophet sallallahu alehi wasallam prohibited salah in seven places: “dunghills, slaughterhouses, graveyards, middle of the road, bathhouses, watering places where the camels drink and rest, and on the roof of the house of Allah [the Ka’bah in Makkah].” This is related by Ibn Majah, ‘Abd ibn Humaid, and at-Tirmizhi who said its chain is not strong. The reason why it is prohibited to pray on dunghills and in slaughterhouses is the presence of impurities there. It is forbidden to pray at such places without any barrier, and if there is such a barrier one may pray, but it is disliked by the majority of the scholars, while Ahmad and other scholars of zahiri persuasion say it is prohibited. The reason why it is prohibited to pray in the resting places of the camels is the same as in the first two cases (i.e., the presence of impurities). The reason why it is prohibited to pray at the middle of the roads is because there is usually a lot of commotion, which could take one’s heart away from the salah. As for praying on the roof of the Ka’bah, this contradicts the order to offer salah facing it. For this reason, many are of the opinion that a salah performed on top of the Ka’bah is invalid. The Hanafi school holds that it is allowed, but disliked as it does not honor the Ka’bah. The reason it is disliked to pray in bath-houses is the presence of impurities there, according to the majority of the scholars. Ahmad, Abu Thaur, and the Zahiriyyah hold that a salah offered in the bath-house is not valid.
Section : Dunghills, slaughterhouses, middle of the roads, resting places of the camels near watering holes, bathrooms and on the roof of the “house of Allah”.