It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them) that the Messenger of Allah (peace and blessings be upon him) forbade Muzabana. Muzabana is that dates on the tree are sold by measure in exchange for dried dates, and similarly, grapes on the vine are sold in exchange for raisins.
Hadith Referenceالسنن المأثورة / باب في البيوع / 207
Hadith Takhrijصحیح بخاری، البيوع، باب بيع الزبيب بالزبيب، رقم : 2171، صحیح مسلم ، البيوع، باب تحريم بيع الرطب بالتمر ..... الخ، رقم : 1542 ۔