(4) Prayer
كتاب الصلاة
(8b) Chapter: Mosques and places of Prayer - Section 2
(7) باب المساجد ومواضع الصلاة - الفصل الثاني
Mishkat al-Masabih 737 
Abu Sa'id reported God’s Messenger as saying, “The whole earth is a mosque, with the exception of a graveyard and a bath.” Abu Dawud, Tirmidhi and Darimi transmitted it.
وَعَنْ أَبِي سَعِيدٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «الْأَرْضُ كُلُّهَا مَسْجِدٌ إِلَّا الْمَقْبَرَةَ وَالْحَمَّامَ» . رَوَاهُ أَبُو دَاوُدَ وَالتِّرْمِذِيُّ والدارمي
 صَحِيحٌ  (الألباني)حكم :
Reference : Mishkat al-Masabih 737
In-book reference : Book 4, Hadith 165