Sunan Ibn Majah
Sunan Ibn Majah 745
حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى، حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، حَدَّثَنَا سُفْيَانُ، عَنْ عَمْرِو بْنِ يَحْيَى، عَنْ أَبِيهِ، وَحَمَّادُ بْنُ سَلَمَةَ، عَنْ عَمْرِو بْنِ يَحْيَى، عَنْ أَبِيهِ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " الأَرْضُ كُلُّهَا مَسْجِدٌ إِلاَّ الْمَقْبَرَةَ وَالْحَمَّامَ " .
Muhammad ibn Yahya narrated to us: Yazid ibn Harun narrated to us: Sufyan narrated to us, from 'Amr ibn Yahya, from his father. Hammad ibn Salamah also narrated from 'Amr ibn Yahya, from his father, from Abu Sa'id al-Khudri, who said: The Messenger of Allah (peace and blessings be upon him) said: ‘The whole earth is a mosque, except for the cemetery and the bathhouse.’
Translation notes
The source gives two routes, the second of which names Abu Sa'id al-Khudri before the report.