We used to go ahead to meet the caravan and used to buy foodstuff from them. The Prophet (ﷺ) forbade us to sell it till it was carried to the market.
Sahih al-Bukhari Book 34, Hadith 117