كتاب الصلاة
4  
Prayer
(8b)
Chapter: Mosques and places of Prayer - Section 2
(7)
باب المساجد ومواضع الصلاة - الفصل الثاني
Mishkat al-Masabih 738
Ibn ‘Umar said that there were seven places in which God’s Messenger forbade people to pray:
a dunghill, a slaughterhouse, a graveyard, the middle of the road, a bath, places where camels kneel to drink, and on the roof of God’s House. Tirmidhi and Ibn Majah transmitted it.
وَعَنِ ابْنِ عُمَرَ قَالَ: نَهَى رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنْ يُصَلَّى فِي سَبْعَةِ مَوَاطِنَ: فِي الْمَزْبَلَةِ وَالْمَجْزَرَةِ وَالْمَقْبَرَةِ وَقَارِعَةِ الطَّرِيقِ وَفِي الْحَمَّامِ وَفِي مَعَاطِنِ الْإِبِلِ وَفَوْقَ ظَهْرِ بَيْتِ اللَّهِ ". رَوَاهُ التِّرْمِذِيُّ وَابْنُ مَاجَهْ
  ضَعِيف   (الألباني) حكم   :
Reference : Mishkat al-Masabih 738
In-book reference : Book 4, Hadith 166