"الأرضُ كلّهَا مسجدٌ إِلا المقبرةَ والحمَّامَ" .
See similar narrations below:
Collected by Abū Dāwūd, Tirmidhī, Ibn Mājah, Aḥmad, Ibn Ḥibbān, Bayhaqī, Suyūṭīand the narrator Musa said: As far as Amr thinks, the Prophet ﷺ said: The whole earth is a place of prayer except public baths and graveyards.
قَالَ رَسُولُ اللَّهِ ﷺ وَقَالَ مُوسَى فِي حَدِيثِهِ فِيمَا يَحْسَبُ عَمْرٌو أَنَّ النَّبِيَّ ﷺ قَالَ الأَرْضُ كُلُّهَا مَسْجِدٌ إِلاَّ الْحَمَّامَ وَالْمَقْبُرَةَ
Messenger of Allah said: "All of the earth is a Masjid except for the graveyard and the washroom."
قَالَ رَسُولُ اللَّهِ ﷺ الأَرْضُ كُلُّهَا مَسْجِدٌ إِلاَّ الْمَقْبُرَةَ وَالْحَمَّامَ
"The Messenger of Allah said: 'All the earth is a mosque, except for graveyards and Hammam.'"
قَالَ رَسُولُ اللَّهِ ﷺ الأَرْضُ كُلُّهَا مَسْجِدٌ إِلاَّ الْمَقْبَرَةَ وَالْحَمَّامَ
"The Messenger of Allah said: 'All the earth is a mosque, except for graveyards and Hammam.'" (Using translation from Ibn Mājah 745)
قَالَ رَسُولُ اللهِ ﷺ كُلُّ الْأَرْضِ مَسْجِدٌ وَطَهُورٌ إِلَّا الْمَقْبَرَةَ وَالْحَمَّامَ
"The Messenger of Allah said: 'All the earth is a mosque, except for graveyards and Hammam.'" (Using translation from Ibn Mājah 745)
قَالَ رَسُولُ اللهِ ﷺ الْأَرْضُكُلُّهَا مَسْجِدٌ إِلَّا الْحَمَّامَ وَالْمَقْبَرَةَ
ذِكْرُ التَّخْصِيصِ الثَّانِي الَّذِي يَخُصُّ عُمُومَ اللَّفْظَةِ الَّتِي ذَكَرْنَاهَا قَبْلُ
"The Messenger of Allah said: 'All the earth is a mosque, except for graveyards and Hammam.'" (Using translation from Ibn Mājah 745)
قَالَ رَسُولُ اللَّهِ ﷺ «الْأَرْضُ كُلُّهَا مَسْجِدٌ إِلَّا الْحَمَّامَ وَالْمَقْبَرَةَ»
ذِكْرُ التَّخْصِيصِ الثَّانِي الَّذِي يَخُصُّ عُمُومَ اللَّفْظَةِ الَّتِي ذَكَرْنَاهَا قَبْلُ
"The Messenger of Allah said: 'All the earth is a mosque, except for graveyards and Hammam.'" (Using translation from Ibn Mājah 745)
قَالَ رَسُولُ اللَّهِ ﷺ «الْأَرْضُ كُلُّهَا مَسْجِدٌ إِلَّا الْحَمَّامَ وَالْمَقْبَرَةَ»
ذِكْرُ خَبَرٍ يُصَرِّحُ بِتَخْصِيصِ عُمُومِ تِلْكَ اللَّفْظَةِ الَّتِي ذَكَرْنَاهَا قَبْلُ
"The Messenger of Allah said: 'All the earth is a mosque, except for graveyards and Hammam.'" (Using translation from Ibn Mājah 745)
قَالَ رَسُولُ اللَّهِ ﷺ «الْأَرْضُ كُلُّهَا مَسْجِدٌ إِلَّا الْمَقْبَرَةَ وَالْحَمَّامَ»
"The Messenger of Allah said: 'All the earth is a mosque, except for graveyards and Hammam.'" (Using translation from Ibn Mājah 745)
قَالَ رَسُولُ اللهِ ﷺ الْأَرْضُ كُلُّهَا مَسْجِدٌ إِلَّا الْحَمَّامَ وَالْمَقْبَرَةَ
"The Messenger of Allah said: 'All the earth is a mosque, except for graveyards and Hammam.'" (Using translation from Ibn Mājah 745)
قَالَ رَسُولُ اللهِ ﷺ الْأَرْضُ كُلُّهَا مَسْجِدٌ إِلَّا الْحَمَّامَ وَالْمَقْبَرَةَ
"الأرضُ كلُّها مسجدٌ إِلَّا المقبرةَ والحمَّامَ" .
"الأرضُ كلّها مسجدٌ إِلا المقبرةَ والحمَّامَ" .