Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) says that the Messenger of Allah (peace and blessings be upon him) "forbade riding a camel that feeds on filth or drinking its milk."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الضحايا / 19474