Language:
كتاب الحج
25  
Hajj (Pilgrimage)
(150)
Chapter: Trading during the time of Hajj
(150)
باب التِّجَارَةِ أَيَّامَ الْمَوْسِمِ وَالْبَيْعِ فِي أَسْوَاقِ الْجَاهِلِيَّةِ
Sahih al-Bukhari 1770

Narrated Ibn ' `Abbas:

Dhul-Majaz and `Ukaz were the markets of the people during the Pre-Islamic period of ignorance. When the people embraced Islam, they disliked to do bargaining there till the following Holy Verses were revealed:-- There is no harm for you If you seek of the bounty Of your Lord (during Hajj by trading, etc.) (2.198)

حَدَّثَنَا عُثْمَانُ بْنُ الْهَيْثَمِ، أَخْبَرَنَا ابْنُ جُرَيْجٍ، قَالَ عَمْرُو بْنُ دِينَارٍ قَالَ ابْنُ عَبَّاسٍ ـ رضى الله عنهما ـ كَانَ ذُو الْمَجَازِ وَعُكَاظٌ مَتْجَرَ النَّاسِ فِي الْجَاهِلِيَّةِ، فَلَمَّا جَاءَ الإِسْلاَمُ كَأَنَّهُمْ كَرِهُوا ذَلِكَ حَتَّى نَزَلَتْ ‏{‏لَيْسَ عَلَيْكُمْ جُنَاحٌ أَنْ تَبْتَغُوا فَضْلاً مِنْ رَبِّكُمْ‏}‏ فِي مَوَاسِمِ الْحَجِّ‏.‏
Reference : Sahih al-Bukhari 1770
In-book reference : Book 25, Hadith 246
USC-MSA web (English) reference : Vol. 2, Book 26, Hadith 822
  (deprecated numbering scheme)