It is narrated from Sayyiduna Abdullah bin Amr bin al-As (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) used to pray in sheepfolds, but he would not pray in the enclosures of camels and cows.
Hadith Referenceالفتح الربانی / أبواب المساجد / 1421
Hadith Gradingمحدثین:ضعیف
Hadith Takhrij«اسناده ضعيف، لضعف ابن لھيعة وحيي بن عبد الله المعافري، (انظر مسند أحمد ترقيم الرسالة: 6658)۔ ترقیم بيت الأفكار الدولية: 6658»