From Sahih Bukhari (Hadith 2171):
Narrated Ibn `Umar:Allah's Messenger (ﷺ) forbade Muzabana; and Muzabana is the selling of fresh dates for dried old dates by measure, and the selling of fresh grapes for dried grapes by measure
Reference: Bukhari 2171