Jami` at-Tirmidhi, Book 2, Hadith 198 (In-Book) ⓘ
Ibn Umar narrated: "The Prophet prohibited Salat from being performed in seven places: the dung heap, the slaughtering area, the graveyard, the commonly used road, the wash area, in the area that camels rest at, and above the House of Allah (the Ka'bah)."
حَدَّثَنَا مَحْمُودُ بْنُ غَيْلاَنَ، حَدَّثَنَا الْمُقْرِئُ، حَدَّثَنَا يَحْيَى بْنُ أَيُّوبَ، عَنْ زَيْدِ بْنِ جَبِيرَةَ، عَنْ دَاوُدَ بْنِ الْحُصَيْنِ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَى أَنْ يُصَلَّى فِي سَبْعَةِ مَوَاطِنَ فِي الْمَزْبَلَةِ وَالْمَجْزَرَةِ وَالْمَقْبُرَةِ وَقَارِعَةِ الطَّرِيقِ وَفِي الْحَمَّامِ وَفِي مَعَاطِنِ الإِبِلِ وَفَوْقَ ظَهْرِ بَيْتِ اللَّهِ " .
also referenced under: Hadith 346 (Reference) & Volume 1, Book 2, Hadith 346 (DarusSalam)