USC-MSA web (English) : Book 9, Hadith 82
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ هِشَامِ بْنِ عُرْوَةَ، عَنْ أَبِيهِ، عَنْ رَجُلٍ، مِنَ الْمُهَاجِرِينَ لَمْ يَرَ بِهِ بَأْسًا أَنَّهُ سَأَلَ عَبْدَ اللَّهِ بْنَ عَمْرِو بْنِ الْعَاصِ أَأُصَلِّي فِي عَطَنِ الإِبِلِ فَقَالَ عَبْدُ اللَّهِ لاَ وَلَكِنْ صَلِّ فِي مُرَاحِ الْغَنَمِ .
Yahya related to me from Malik from Hisham ibn Urwa from his father that one of the muhajirun in whom he saw no harm asked Abdullah ibn Amr ibn al-As, "Can I pray in a place where camels are watered?" Abdullah replied, "No, but you can pray in a sheep-pen."
Full reference and source
USC-MSA web (English) : Book 9, Hadith 82 Arabic : Book 9, Hadith 413
View source on Sunnah.com (opens in a new tab)