أَنْبَأَنَا سُفْيَانُ ، عَنْ عَمْرِو بْنِ يَحْيَى ، عَنْ أَبِيهِ ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ ، أَنّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، قَالَ : " الأَرْضُ كُلُّهَا مَسْجِدٌ إِلا الْحَمَّامَ وَالْمَقْبَرَةَ " .
It is narrated from Sayyiduna Abu Sa'id Al-Khudri (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The whole earth is a place for prayer except for the bathhouse and the graveyard."