Narrated Zaid bin Thabit: In the lifetime of Allah’s Messenger, peace be upon him, the people used to trade with fruits. When they cut their date-fruits and the purchasers came to receive their rights, the sellers would say, “My dates have got rotten; they are blighted with disease, they are afflicted with a disease, which causes the fruit to fall before ripening.” They would go on complaining of defects in their purchases.
Allah’s Messenger, peace be upon him, said, “Do not sell the fruits before their benefit is evident (i.e. free from all the dangers of being spoiled or blighted).” (This was) by way of advice for they quarreled too much. (Kharija bin Zaid bin Thabit said that Zaid bin Thabit used not to sell the fruits of his land till it gets very hot in Hijaz and one could distinguish the yellow fruit from the red (ripe) ones.)
[3: 397- O.B. Sahih Al-Bukhari)