Mosques and places of Prayer - Section 2 Mishkat al-Masabih 739
Arabic hadith text
قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «صَلُّوا فِي مَرَابِضِ الْغَنَمِ وَلَا تُصَلُّوا فِي أَعْطَانِ الْإِبِلِ» . رَوَاهُ التِّرْمِذِيّ
Translation
Abu Huraira reported God’s Messenger as saying, “Pray in sheep-folds, but not where camels kneel to drink.” Tirmidhi transmitted it.