صحیح ابن حبان
Ibn Hibban
كتاب الصلاة
Book of Prayer
باب ما يكره للمصلي وما لا يكره - ذكر الخبر المصرح بأن قوله صلى الله عليه وسلم جعلت لي الأرض طهورا ومسجدا أراد به بعض الأرض لا الكل
Chapter on What is Disliked and Not Disliked – Report Clarifying that “The Earth Was Made a Mosque” Refers to Some Land, Not All
1 hadith
Hadith 2314
Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates this statement of the Prophet (peace and blessings be upon him): "When you find only a sheepfold or a place where camels sit (for offering prayer), then perform prayer in the sheepfold, but do not perform prayer in the place where camels sit."