Abdullah bin Abbas reported,

Dhu al-Majaz and Ukaz were the trading markets of the people during the era of ignorance. When Islam came, it was as if they disliked engaging in that trade, until the verse was revealed, "There is no blame upon you for seeking bounty from your Lord" [Baqarah 2:198], referring to the seasons of Hajj.

Bukhari 1770

Sahih

حدثنا عثمان بن الهيثم أخبرنا ابن جريج قال عمرو بن دينار قال

ابن عباس رضي الله عنهما

كان ذو المجاز وعكاظ متجر الناس في الجاهلية فلما جاء الإسلام كأنهم كرهوا ذلك حتى نزلت {ليس عليكم جناح أن تبتغوا فضلا من ربكم} في مواسم الحج

البخاري 1770صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Hajj
Chapter
Trade during the Hajj season and selling in the markets of pre-Islamic times
Numbering
Darussalam 1770
Bukhari 1770