Ziyad bin Abi Tamim (the freed slave of Uthman bin Affan, may Allah be pleased with him) narrated that the Prophet ﷺ sent a companion to collect charity, and he brought back young camels suitable for riding. When the Prophet ﷺ saw them, he said: "You have destroyed yourself and (caused) others to perish as well." Upon this, he said: O Messenger of Allah! I used to sell two or three camels for one young riding camel in cash, and I knew of the Prophet’s ﷺ need for riding camels. Then the Prophet ﷺ said: "Then that is fine."
Hadith Referenceمسند الإمام الشافعي / كتاب البيوع / 1451
Hadith Takhrijاسناده ضعيف لإرساله ولعنعنة ابن جريج : اخرجه البيهقى فى المعرفة السنن والآثار (3579)۔ وعبدالرزاق (14145)۔