عَنْ أَبِي هُرَيْرَةَ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَالَ: ((إِذَا لَمْ تَجِدُوا إِلَّا مَرَابِضَ الْغَنَمِ وَمَعَاطِنَ الْإِبِلِ فَصَلُّوا فِي مَرَابِضِ الْغَنَمِ وَلَا تُصَلُّوا فِي مَعَاطِنِ الْإِبِلِ))
It is narrated from Sayyiduna Abu Hurairah, may Allah be pleased with him, that the Noble Prophet, peace and blessings be upon him, said: When you do not find any place except the enclosures of goats and camels, then perform prayer in the enclosures of goats, but do not perform prayer in the enclosures of camels.