It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Do not buy or sell fruit until it becomes fit to eat."
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 3361