Jabir bin Abdullah (may Allah be pleased with him) said that the Messenger of Allah (peace and blessings be upon him) "forbade selling a heap of dates whose measure is not known in exchange for dates whose measure is known."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 10546