Salim bin Abdullah bin Umar reported,

I saw people during the time of the Messenger of Allah ﷺ being struck for selling food on the spot when they had bought it in bulk. They were prevented from doing so until they had transported it to their dwellings.Ibn Shihab said, Ubaydullah bin Abdullah bin Umar narrated to me that his father used to buy food in bulk and then carry it to his family.

Muslim 3847

Sahih

و حدثني حرملة بن يحيى حدثنا ابن وهب أخبرني يونس عن ابن شهاب أخبرني

سالم بن عبد الله أن أباه قال

قد رأيت الناس في عهد رسول الله ﷺ إذا ابتاعوا الطعام جزافا يضربون في أن يبيعوه في مكانهم وذلك حتى يؤووه إلى رحالهم قال ابن شهاب وحدثني عبيد الله بن عبد الله بن عمر أن أباه كان يشتري الطعام جزافا فيحمله إلى أهله

مسلم 3847صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Sales
Chapter
Invalidity of selling something purchased before taking possession
Numbering
Darussalam 3847