The Messenger of Allah ﷺ used to eat melon with fresh dates, and he used to say: The heat of the one is broken by the coolness of the other, and the coolness of the one by the heat of the other. (Using translation from Abū Dāʾūd 3836)
كَانَ رَسُولُ اللهِ ﷺ يَأْكُلُ الْبِطِّيخَ بِالرُّطَبِ فَيَقُولُ يُكْسَرُ حَرُّ هَذَا بِبَرْدِ هَذَا وَبَرْدُ هَذَا بِحَرِّ هَذَا