حَدَّثَنَا أَبُو خَيْثَمَةَ ، حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ ، أَخْبَرَنَا سُفْيَانُ الثَّوْرِيُّ ، وَحَمَّادُ بْنُ سَلَمَةَ جَمِيعًا ، عَنْ عَمْرِو بْنِ يَحْيَى ، عَنْ أَبِيهِ - قَالَ حَمَّادٌ فِي حَدِيثِهِ : عَنْ أَبِي سَعِيدٍ - وَلَمْ يُجَاوِزْ سُفْيَانُ أَبَاهُ - قَالَ : قَالَ رَسُولُ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - : « الْأَرْضُ كُلُّهَا مَسْجِدٌ إِلَّا الْمَقْبَرَةَ وَالْحَمَّامَ » .
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 mosque (a place of worship), except the graveyard and the bathhouse (hammam)." (In the chain,) in the narration of Hammad (may Allah have mercy on him) the link of Sayyiduna Abu Sa'id (may Allah be pleased with him) is mentioned, whereas Sufyan (may Allah have mercy on him) did not take the chain beyond the father (of Amr).