They used to buy food from the caravans during the time of the Messenger of Allah ﷺ, and he forbade them from selling it in the same place where they had bought it until they had transported it to the food market.
أخبرنا عبد الرحمن بن عبد الله بن عبد الحكم قال حدثنا شعيب بن الليث عن أبيه عن محمد بن عبد الرحمن عن نافع أن
أنهم كانوا يبتاعون الطعام على عهد رسول الله ﷺ من الركبان فنهاهم أن يبيعوا في مكانهم الذي ابتاعوا فيه حتى ينقلوه إلى سوق الطعام
No references are available.
Its isnad is sahih, and it is in Kubra, no. 6200. Part of it has already appeared at no. 3963. Muhammad bin Abdul-Rahman is Ibn Ghunj.