Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates that the Messenger of Allah (peace and blessings be upon him) forbade buying goods from a trading caravan before it reached the market.
Hadith Referenceالمنتقى ابن الجارود / كتاب البيوع والتجارات / 572