Zaid bin Thabit (ra) said, "In the lifetime of Allah's Messenger (ﷺ), the people used to trade with fruits. When they cut their date-fruits and the purchasers came to recieve their rights, the seller would say, 'My dates have got rotten, they are blighted with disease, they are afflicted with Qusham (a disease which causes the fruit to fall before ripening).' They would go on complaining of defects in their purchases. Allah's Messenger (ﷺ) said, "Do not sell the fruits before their benefit is evident (i.e. free from all the dangers of being spoiled or blighted), by way of advice for they quarrelled too much." Kharija bin Zaid bin Thabit said that Zaid bin Thabit (ra) used not to sell the fruits of his land till Pleiades appeared and one could distinguish the yellow fruits from the red (ripe) ones.
Narrated `Abdullah bin `Umar
Allah's Messenger (ﷺ) forbade the sale of fruits till their benefit is evident. He forbade both the seller and the buyer (such sale).
Narrated Anas
Allah's Messenger (ﷺ) forbade the sale of date fruits till they were ripe. Abu `Abdullah (Al-Bukhari) said, "That means till they were red (can be eaten).
Narrated Jabir bin `Abdullah
The Prophet (ﷺ) forbade the s of (date) fruits till they were red or yellow and fit for eating.