Ukaz, Majannah, and Dhu al-Majaz were marketplaces during the days of ignorance. The people felt it was sinful to engage in trade during the pilgrimage seasons, so 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.
حدثني محمد قال أخبرني ابن عيينة عن عمرو
كانت عكاظ ومجنة وذو المجاز أسواقا في الجاهلية فتأثموا أن يتجروا في المواسم فنزلت {ليس عليكم جناح أن تبتغوا فضلا من ربكم} في مواسم الحج