عَنْ عَبْدِ اللَّهِ بْنِ عَمْرِو بْنِ الْعَاصِ رَضِيَ اللَّهُ عَنْهُمَا أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ كَانَ يُصَلِّي فِي مَرَابِضِ الْغَنَمِ وَلَا يُصَلِّي فِي مَرَابِضِ الْإِبِلِ وَالْبَقَرِ
It is narrated from Sayyiduna Abdullah bin Amr bin al-As (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) used to pray in sheepfolds, but he would not pray in the enclosures of camels and cows.