Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ibnmajah:747ʿAlī b. Dāwud And Muḥammad b. Abū al-Ḥusayn > Abū Ṣāliḥ > al-Layth > Nāfiʿ > Ibn ʿUmar > ʿUmar b. al-Khaṭṭāb

The Messenger of Allah said: "There are seven places where it is not permissible to perform the prayer: The top of the House of Allah; graveyards; garbage dumps; slaughterhouses; bathrooms; the area that camels rest, and the main road."  

ابن ماجة:٧٤٧حَدَّثَنَا عَلِيُّ بْنُ دَاوُدَ وَمُحَمَّدُ بْنُ أَبِي الْحُسَيْنِ قَالاَ حَدَّثَنَا أَبُو صَالِحٍ حَدَّثَنِي اللَّيْثُ حَدَّثَنِي نَافِعٌ عَنِ ابْنِ عُمَرَ عَنْ عُمَرَ بْنِ الْخَطَّابِ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ سَبْعُ مَوَاطِنَ لاَ تَجُوزُ فِيهَا الصَّلاَةُ ظَاهِرُ بَيْتِ اللَّهِ وَالْمَقْبَرَةُ وَالْمَزْبَلَةُ وَالْمَجْزَرَةُ وَالْحَمَّامُ وَعَطَنُ الإِبِلِ وَمَحَجَّةُ الطَّرِيقِ  


See similar narrations below:

Collected by Tirmidhī, Ibn Mājah, Suyūṭī
tirmidhi:346Maḥmūd b. Ghaylān > al-Muqriʾ > Yaḥyá b. Ayyūb > Zayd b. Jabīrah > Dāwud b. al-Ḥuṣayn > Nāfiʿ > Ibn ʿUmar

"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)."  

الترمذي:٣٤٦حَدَّثَنَا مَحْمُودُ بْنُ غَيْلاَنَ حَدَّثَنَا الْمُقْرِئُ حَدَّثَنَا يَحْيَى بْنُ أَيُّوبَ عَنْ زَيْدِ بْنِ جَبِيرَةَ عَنْ دَاوُدَ بْنِ الْحُصَيْنِ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَسُولَ اللَّهِ ﷺ نَهَى أَنْ يُصَلَّى فِي سَبْعَةِ مَوَاطِنَ فِي الْمَزْبَلَةِ وَالْمَجْزَرَةِ وَالْمَقْبُرَةِ وَقَارِعَةِ الطَّرِيقِ وَفِي الْحَمَّامِ وَفِي مَعَاطِنِ الإِبِلِ وَفَوْقَ ظَهْرِ بَيْتِ اللَّهِ  

ibnmajah:746Muḥammad b. Ibrāhīm al-Dimashqī > ʿAbdullāh b. Yazīd > Yaḥyá b. Ayyūb > Zayd b. Jabīrah > Dāwud b. al-Ḥuṣayn > Nāfiʿ > Ibn ʿUmar

"Messenger of Allah 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."  

ابن ماجة:٧٤٦حَدَّثَنَا مُحَمَّدُ بْنُ إِبْرَاهِيمَ الدِّمَشْقِيُّ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يَزِيدَ عَنْ يَحْيَى بْنِ أَيُّوبَ عَنْ زَيْدِ بْنِ جَبِيرَةَ عَنْ دَاوُدَ بْنِ الْحُصَيْنِ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ قَالَ

نَهَى رَسُولُ اللَّهِ ﷺ أَنْ يُصَلَّى فِي سَبْعِ مَوَاطِنَ فِي الْمَزْبَلَةِ وَالْمَجْزَرَةِ وَالْمَقْبَرَةِ وَقَارِعَةِ الطَّرِيقِ وَالْحَمَّامِ وَمَعَاطِنِ الإِبِلِ وَفَوْقَ الْكَعْبَةِ  

suyuti:14709a
Request/Fix translation

  

السيوطي:١٤٧٠٩a

"سبْع مواطِنَ لاَ تَجُوز فِيهَا الصَّلَاةُ: ظَاهِر بيْتِ اللهِ الْعتِيق والْمقْبرةُ، والْمزْبلَةُ، والْمجْزَرةُ، والْحمَّامُ، وعطَنُ اْلإِبِلِ، ومحجَّة الطَّرِيق".  

[هـ] ابن ماجة وابن جرير في تهذيبه عن عمر