Muwatta Malik, Book 31, Hadith 21 (USC-MSA)

Yahya related to me from Malik from Abd al-Hamid ibn Suhayl ibn Abd ar-Rahman ibn Awf from Said ibn al-Musayyab from Abu Said al- Khudri and from Abu Hurayra that the Messenger of Allah, may Allah bless him and grant him peace, appointed a man as an agent in Khaybar, and he brought him some excellent dates. The Messenger of Allah, may Allah bless him and grant him peace, said to him, "Are all the dates of Khaybar like this?" He said,"No. By Allah, Messenger of Allah! We take a sa of this kind for two sa or two sa for three." The Messenger of Allah, may Allah bless him and grant him peace, said, "Do not do that. Sell the assorted ones for dirhams and then buy the good ones with the dirhams."

وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ عَبْدِ الْحَمِيدِ بْنِ سُهَيْلِ بْنِ عَبْدِ الرَّحْمَنِ بْنِ عَوْفٍ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، وَعَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم اسْتَعْمَلَ رَجُلاً عَلَى خَيْبَرَ فَجَاءَهُ بِتَمْرٍ جَنِيبٍ فَقَالَ لَهُ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ أَكُلُّ تَمْرِ خَيْبَرَ هَكَذَا ‏"‏ ‏.‏ فَقَالَ لاَ وَاللَّهِ يَا رَسُولَ اللَّهِ إِنَّا لَنَأْخُذُ الصَّاعَ مِنْ هَذَا بِالصَّاعَيْنِ وَالصَّاعَيْنِ بِالثَّلاَثَةِ ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ لاَ تَفْعَلْ بِعِ الْجَمْعَ بِالدَّرَاهِمِ ثُمَّ ابْتَعْ بِالدَّرَاهِمِ جَنِيبًا ‏"‏ ‏.‏

sunnah.com

also referenced under: Book 31, Hadith 1314 (In-Book)