Sunan Ibn Majah, Book 12, Hadith 42 (Ibn Majah 2178)
It was narrated from Abu Hurairah that the Prophet (ﷺ) said:
"Do not meet the traders on the way, and whoever meets any of them and buys from him, the vendor has the choice of annulling the transaction when he comes to the marketplace.''