Messenger of Allah ﷺ forbade Muzabana; and Muzabana means the selling of fresh dates (on the trees) for dried dates by measure and also the selling of fresh grapes for dried grapes by measure. (Using translation from Bukhārī 2185)
أَنَّ رَسُولَ اللهِ ﷺ نَهَى عَنِ الْمُزَابَنَةِ وَالْمُزَابَنَةُ اشْتِرَاءُ الثَّمَرِ بِالتَّمْرِ كَيْلًا وَالْكَرْمِ بِالزَّبِيبِ كَيْلًا