Sayyiduna Ibn Abbas (may Allah be pleased with them both) narrates: "The Messenger of Allah (peace and blessings be upon him) forbade domestic donkeys only out of fear that the riding animals would become few."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12174