Jabir bin'Abdullah (RA) is reported to have said that Allah's Messenger (ﷺ) forbade the sale of a heap of dates the weight of which is unknown in accordance with the known weight of dates.
Hadith ReferenceSahih Muslim / The Book of Transactions / Hadith: 1530