It was narrated from Ibn 'Umar that the Prophet (ﷺ) said:
"Whoever buys food, let him not sell it until he has taken full possession of it." (TR)
English reference (TR): Vol. 3, Book 12, Hadith 2226 (TR)
Arabic reference (TR): Book 12, Hadith 2311 (TR)