It is narrated from Ibn Umar (may Allah be pleased with them both) that the Prophet (ﷺ) said: "Whoever buys grain should not sell it until he has taken full possession of it."
Hadith Referenceمسند الإمام الشافعي / كتاب البيوع / 1398
Hadith Takhrijاخرجه البخاري، البيوع، باب ما يذكر في بيع الطعام والحكرة (2133) ومسلم، البيوع، باب بطلان بيع المبيع قبل القبض (1526)۔