During the time of the Messenger of Allah ﷺ, people would be punished for selling food they had bought in bulk at the same spot before transferring it elsewhere.
حدثنا أبو بكر بن أبي شيبة حدثنا عبد الأعلى عن معمر عن الزهري عن سالم
أنهم كانوا يضربون على عهد رسول الله ﷺ إذا اشتروا طعاما جزافا أن يبيعوه في مكانه حتى يحولوه