It has been prohibited to ride the beast which eats dung.
Sunan Abi Dawud Book 15, Hadith 81