Sahih Muslim, Book 21, Hadith 49 (Muslim 3812)

Jabir b. Abdullah (Allah be pleased with them) reported Allah's Messenger (ﷺ) as saying:

When you purchase foodgrains, do not sell them until you have taken possession of them.