It is invalid to sell goods before taking possession of them Sahih Muslim 1526 c

Show Arabic text
Translation
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 full possession of it (after measuring it).