Ibn 'Umar (Allah be pleased with them) reported that they were beaten during the lifetime…

Sahih Muslim Book 21 Hadith 45

Sahih Muslim #1527 c

The Book of Transactions 21:45

Ibn 'Umar (Allah be pleased with them) reported that they were beaten during the lifetime of Allah's Messenger (ﷺ) if they had bought foodgrains in bulk and then sold them in the spot without shifting them (to some other place).

Chapter: It is invalid to sell goods before taking possession of them

Grade: Sahih