صحیح ابن حبان
Ibn Hibban
كتاب الصلاة
Book of Prayer
باب شروط الصلاة - ذكر التخصيص الثالث الذي يخص عموم قوله صلى الله عليه وسلم جعلت الأرض كلها مسجدا
Chapter on Conditions of Prayer - The third specification restricting the Prophet’s statement "The earth was made a mosque."
2 hadith
Hadith 1700
Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates this statement of the Prophet (peace and blessings of Allah be upon him): "When you find only a sheep pen or a camel pen (as a place) to perform prayer, then perform prayer in the sheep pen, but do not perform prayer in the camel pen."
Hadith 1701
Sayyiduna Abu Hurairah, may Allah be pleased with him, narrates this statement of the Prophet Muhammad, peace and blessings be upon him: "When you find only a sheep pen or a camel pen (as a place) to perform prayer, then perform prayer in the sheep pen, but do not perform prayer in the camel pen."