The Messenger of Allah ﷺ forbade riding camels that fed on filth.
حدثنا أحمد بن أبي سريج الرازي أخبرني عبد الله بن الجهم حدثنا عمرو يعني ابن أبي قيس عن أيوب السختياني عن نافع
نهى رسول الله ﷺ عن الجلالة في الإبل أن يركب عليها
[Its isnad is hasan] Hakim narrated it, 2/34, from the hadith of Ahmad bin Abu Siraj through this same chain, and he graded it sahih. Nawawi in Riyad al-Salihin, hadith 1694.