Abu Hurairah reported,

The Messenger of Allah ﷺ said, "If you find nothing but the resting places of sheep and the resting places of camels, then pray in the resting places of sheep, but do not pray in the resting places of camels."

Azami 2624

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: إن لم تجدوا إلا مرابض الغنم وأعطان الإبل، فصلوا في مرابض الغنم، ولا تصلوا في أعطان الإبل.

الأعظمي 2624صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
What is prohibited and disliked in prayer
Section
Disliking prayer in camel resting places and its permissibility in sheep pens
Numbering
Jami al-Kamil 2624 (2nd edition)
Azami 2624