Ibn 'Umar (May Allah be pleased with them) said:
The Messenger of Allah (ﷺ) prohibited riding a camel which eats dung, or animal or human waste.[Abu Dawud]. (PT)
App reference (PT): Book 18, Hadith 182 (PT)
Arabic/English book reference (PT): Book 18, Hadith 1692 (PT)