I saw people during the time of the Messenger of Allah ﷺ being punished if they bought food in bulk and then sold it before transporting it to their own quarters.
حدثنا الضحاك بن مخلد أبو عاصم عن ابن جريج أخبرني ابن شهاب عن حديث سالم بن عبد الله
رأيت الناس في عهد رسول الله ﷺ يضربون إذا ابتاعوا الطعام جزافا أن يبيعوه حتى يؤووه إلى رحالهم