Jabir bin Abdullah (may Allah be pleased with them both) narrates that the Messenger of Allah (ﷺ) forbade selling a heap of dates of unknown weight in exchange for dates whose weight is known.
Hadith Referenceمسند الإمام الشافعي / كتاب البيوع / 1436
Hadith Takhrijاخرجه مسلم البيوع، باب تحريم بيع صبرة التمر المجهوله القدر بتمر (1530)۔