The Messenger of Allah ﷺ forbade praying in the resting places of camels and permitted praying in the folds of sheep.
حدثنا يعقوب حدثنا
أن رسول الله ﷺ نهى أن يصلى في أعطان الإبل ورخص أن يصلى في مراح الغنم
Its isnad is sahih. It has already appeared at 15278.