"The Messenger of Allah was asked about (buying) fresh dates with dried dates, and he said to those who were around him: 'Will fresh dates decrease (in weight or volume) when they dry out?" they said Yes,' so he forbade that."
Sunan an-Nasa'i Book 44, Hadith 97