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. (Using translation from Abū Dāʾūd 3498)
رَأَيْتُ النَّاسَ فِي عَهْدِ رَسُولِ اللهِ ﷺ يُضْرَبُونَ إِذَا تَبَايَعُوا طَعَامًا جُزَافًا أَنْ يَبِيعُوهُ حَتَّى يُؤْوُوهُ إِلَى رِحَالِهِمْ