Sunan Abi Dawud, Book 24, Hadith 83 (Abu Dawud 3499)

Narrated Ibn 'Abbas:

I saw that during the time of the Messenger of Allah (ﷺ) the people were beaten when they bought grain on the same spot and sold it there without moving it to their houses.