Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) said that the Messenger of Allah (peace and blessings be upon him) said: "Whoever buys food should not sell it before taking possession of it."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 10676