Nafi' narrates from Ibn Umar (may Allah be pleased with them both) that he (peace and blessings be upon him) forbade riding an animal that eats filth (jallalah).
(b) Amr bin Abi Qays narrates from Ayyub (may Allah have mercy on him) that the Messenger of Allah (peace and blessings be upon him) forbade it.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 10330
Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) says that the Messenger of Allah (peace and blessings be upon him) forbade drinking from the mouth of a waterskin, forbade riding an animal that eats filth, and (forbade) the mujaththamah, a goat that is pelted with stones until it is killed.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 10331