Abdul Malik bin Rabee' narrates from his father, from his grandfather: The Prophet Muhammad (peace be upon him) forbade that prayer be performed in camel enclosures. The Prophet Muhammad (peace be upon him) himself used to perform prayer in sheep enclosures.
Hadith Referenceسنن الدارقطني / كتاب الصلاة / 1079
Hadith Takhrij«أخرجه ابن ماجه فى ((سننه)) برقم: 770، والبيهقي فى((سننه الكبير)) برقم: 4425، والدارقطني فى ((سننه)) برقم: 1077، 1078، 1079، وأحمد فى ((مسنده)) برقم: 15576»