Hadith

All of the earth is a mosque (prayer place) except the graveyard and the bathroom

عن أبي سعيد الخدري رضي الله عنه مرفوعًا: «الأرض كُلُّها مسجد إلا المَقْبَرة والحَمَّام».

Abu Sa‘īd al-Khudri (may Allah be pleased with him) reported that the Prophet (may Allah's peace and blessings be upon him) said: "All of the earth is a mosque (prayer place) except the graveyard and the bathroom."

Narrated by Ibn Majah - Narrated by At-Termedhy - Narrated by Abu Daoud - Narrated by Ahmad - Ad-Daarimi · hadeethenc:10645

Grading: Authentic hadith (as published by the source; the grader is not named)

Explanation from the source
All of the earth is a place (suitable) for prayer, except for the place where the dead are buried, and this includes all the area inside the fence of a cemetery; and the place where one bathes with hot water for treatment. An-Nawawi (may Allah have mercy upon him) said: "Prayer in the dwelling places of the devil is disliked by unanimous agreement, such as bars, nightclubs, places where excise taxes are levied, and similar places where sins are openly committed, as well as churches, synagogues, restrooms, etc."

Topics: Conditions of Prayer

Source: HadeethEnc.com, published by HadeethEnc.com. Version API snapshot retrieved 2026-10-11 (the source publishes no version number) (retrieved 2026-10-11). Published by HadeethEnc.com. Shown unmodified; not reviewed by a scholar.