It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever buys grain should not sell it before taking possession of it."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 5235