The Messenger of Allah (ﷺ) prohibited eating the animal which feeds on filth and drinking its milk.
Sunan Abi Dawud Book 28, Hadith 50