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)
«رَأَيْتُ النَّاسَ يُضْرَبُونَ عَلَى عَهْدِ رَسُولِ اللهِ ﷺ إِذَا اشْتَرُوا الطَّعَامَ جِزَافًا أَنْ يَبِيعُوهُ حَتَّى يُؤْوَهُ إِلَى رِحَالِهِمْ»