(4) باب الْمَوَاضِعِ الَّتِي تُكْرَهُ فِيهَا الصَّلاَةُ
It was narrated that Ibn 'Umar said:
"Allah's Messenger prohibited prayer from being performed in seven places: The garbage dump, the slaughtering area, the graveyard, the commonly used road, the bathroom, in the area that camels rest at, and above the Ka'bah."
Reference: Sunan Ibn Majah 746
In-book reference: Book 4, Hadith 12
English translation: Vol. 1, Book 4, Hadith 746
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.