Abdul Malik bin Rabee’, from his father, from his grandfather, narrates: The Prophet (peace and blessings be upon him) forbade praying in camel enclosures. However, he permitted praying in sheep enclosures. The narrator named Ibn Sa’ad used these words: The Prophet (peace and blessings be upon him) commanded us: “Pray in sheep enclosures.” And he forbade us regarding this: “Do not pray in camel enclosures.”
Hadith Referenceسنن الدارقطني / كتاب الصلاة / 1077
Hadith Takhrij«أخرجه ابن ماجه فى ((سننه)) برقم: 770، والبيهقي فى((سننه الكبير)) برقم: 4425، والدارقطني فى ((سننه)) برقم: 1077، 1078، 1079، وأحمد فى ((مسنده)) برقم: 15576»