Sunan Abi Dawud, Book 15, Hadith 81 (Abu Dawud 2558)

Narrated Abdullah ibn Umar:

It has been prohibited to ride the beast which eats dung.