Sahih Bukhari | Volume 3 | Hadith Number 394

Narrated by Jabir
The Prophet forbade the selling of fruits unless they get ripe, and none of them should be sold except for Dinar or Dirham (i.e. money), except the 'Araya trees (the dates of which could be sold for dates).