Jabir (may Allah be pleased with him) narrated that a slave pledged allegiance to the Messenger of Allah (ﷺ) for migration, and the Prophet (ﷺ) did not know that he was a slave until his owner came to take him back. So the Prophet (ﷺ) said: "Sell him." Thus, the Prophet (ﷺ) bought him in exchange for two Abyssinian slaves. After that, the Prophet (ﷺ) did not take allegiance from anyone until he asked whether he was a slave or free.
Hadith Referenceمسند الإمام الشافعي / كتاب البيوع / 1450
Hadith Takhrijاخرجه مسلم البيوع، باب جواز بيع الحيوان بالحيوان من جنسه متفاضلا (1602)۔
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)۔
It is narrated from Ibn Abbas (may Allah be pleased with them) that he was asked about exchanging one camel for two camels, so he said: Sometimes one camel is better than two camels.
Hadith Referenceمسند الإمام الشافعي / كتاب البيوع / 1452
Hadith Takhrijاسناده صحیح اخرجه البيهقى 5/ 287 - وفى المعرفة السنن والآثار له (3357) وعبدالرزاق (14140)۔ والبخارى تعليقاً قبل الحديث (2228)۔
It is narrated from Ali bin Abi Talib (may Allah be pleased with him) that he sold a camel named 'Usayfeer' for twenty camels for a specified period.
Hadith Referenceمسند الإمام الشافعي / كتاب البيوع / 1453
Hadith Takhrijاسناده ضعيف لانقطاعه فان الحسن بن محمد لم يسمع من على بن ابى طالب اخرجه البيهقي : 5 / 288 ، 22 - وفى المعرفة السنن والآثار له (3358) - وعبد الرزاق (14142)۔
It is narrated from Nafi‘ that Ibn ‘Umar (may Allah be pleased with them both) bought a riding animal in exchange for four camels, with the condition that he would deliver them at the place of Rabadhah.
Hadith Referenceمسند الإمام الشافعي / كتاب البيوع / 1454
Hadith Takhrijاسناده صحیح اخرجه البيهقى 5 / 288 ، 22 - وابن ابى شيبة (204221) - ومالك في الموطأ، البيوع، باب ما يجوز من بيع الحيوان بعضه ببعض والسلف فيه والبخارى تعليقًا قبل الحديث رقم : (2228)۔
With this same chain, it is narrated from Ibn Umar (may Allah be pleased with them both) that he bought a camel in exchange for four camels, with the condition that they would be given at the place of Rabadhah.
Hadith Referenceمسند الإمام الشافعي / كتاب البيوع / 1455