It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Grapes are not to be sold until they turn black, nor grain until it hardens."
Imam Ahmad (may Allah have mercy on him) narrated it from al-Hasan bin Musa (may Allah have mercy on him), from Hammad (may Allah have mercy on him).