Sahih Muslim, Book 21, Hadith 36 (Muslim 3799)

Ibn Abbas (Allah be pleased with them) reported Allah's Messenger (ﷺ) as saying:

He who buys foodgrain should not sell it until he has taken possession of it.