The Messenger of Allah (ﷺ) prohibited to ride a camel which eats dung.
Sunan Abi Dawud Book 15, Hadith 82