Abu Sa'id reported that Allah's Apostle ﷺ prohibited that fresh dates and grapes be mixed together and that fresh dates and unripe dates be mixed together. (Using translation from Muslim 1987a)
عَنِ النَّبِيِّ ﷺ أَنَّهُ نَهَى عَنِ الْجَرِّ أَنْ يُنْبَذَ فِيهِ وَعَنِ التَّمْرِ وَالزَّبِيبِ أَنْ يُخْلَطَ بَيْنَهُمَا وَعَنِ الْبُسْرِ وَالتَّمْرِ أَنْ يُخْلَطَ بَيْنَهُمَا