Sahih Muslim, Book 21, Hadith 44 (Muslim 3807)

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

He who bought foodgrain should not sell it until he had taken possession of it.