Sahl bin Abi Hathmah (may Allah be pleased with him) narrates that the Messenger of Allah (ﷺ) forbade selling dried dates for dried dates, but he permitted the sale of ‘Ariyyah, that they may be sold by estimation so that the owners of ‘Ariyyah may eat fresh dates in exchange for them.
Hadith Referenceمسند الإمام الشافعي / كتاب البيوع / 1409
Hadith Takhrijاخرجه البخارى البيوع، باب بيع الثمر على رؤوس النخل بالذهب أو الفضة (2191) ومسلم، البيوع، باب تحريم بيع الرطب بالتمر الا في العرايا (1540)۔