It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him): "The Prophet (peace and blessings be upon him) forbade the meat of domestic donkeys only because they were used for work (carrying loads)."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10384