It is narrated from Ibn Umar (may Allah be pleased with him) that the Prophet (peace be upon him) forbade the sale of date palm fruits until their ripeness became apparent, and likewise forbade the sale of dried dates in exchange for dried dates. Abdullah narrated that Zaid bin Thabit (may Allah be pleased with him) informed us that the Prophet (peace be upon him) granted concession in the case of ‘Araya.
Hadith Referenceمسند الإمام الشافعي / كتاب البيوع / 1405
Hadith Takhrijاخرجه البخاري ، البيوع، باب بيع المزابنة ، وهى بيع التمر بالثمر...... الخ (2183)، (2199) ومسلم، البيوع ، باب تحريم بيع الرطب بالتمر الافى العرايا (1534)۔ (1539)۔