Yahya related to me from Malik from Hisham ibn Urwa from hisfather that one of the muhajirun in whom he saw no harm asked Abdullahibn 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."
USC-MSA web (English) reference: Book 9, Hadith 82
Arabic reference: Book 9, Hadith 413