Sayyiduna Rafi' bin Khadij (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) forbade selling fresh dates for dry dates, and he gave permission in the case of the 'ariyyah, that its owners may buy it by estimation in exchange for dates which they can eat.
Hadith Referenceالمعجم الكبير للطبراني / باب الراء / 4411