Abu Hurairah and Abu Saeed Khudri reported,

The Messenger of Allah ﷺ appointed a man to oversee Khaybar, and the man brought him fine quality dates.The Prophet ﷺ asked, "Are all the dates of Khaybar like this?"The man replied, "No, we take one measure of these in exchange for two measures, and two measures in exchange for three."The Prophet ﷺ said, "Do not do that. Sell the mixed dates for dirhams, then use the dirhams to buy the fine dates." And he said the same concerning transactions settled by weight.

Bukhari 2302-2303

Sahih

حدثنا عبد الله بن يوسف أخبرنا مالك عن عبد المجيد بن سهيل بن عبد الرحمن بن عوف عن سعيد بن المسيب

عن أبي سعيد الخدري وأبي هريرة رضي الله عنهما

أن رسول الله ﷺ استعمل رجلا على خيبر فجاءهم بتمر جنيب فقال أكل تمر خيبر هكذا فقال إنا لنأخذ الصاع من هذا بالصاعين والصاعين بالثلاثة فقال لا تفعل بع الجمع بالدراهم ثم ابتع بالدراهم جنيبا وقال في الميزان مثل ذلك

البخاري 2302-2303صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Agency
Chapter
Agency in currency exchange and weighing
Numbering
Darussalam 2302-2303
Bukhari2302 2302-2303