I heard Abu Dharr swear an oath that the verse "These are two adversaries who have disputed concerning their Lord" [Hajj 22:19] was revealed about those who came forward for combat on the day of Badr, namely Hamza, Ali, and Ubayda bin Harith, along with Utba and Shayba, the two sons of Rabia, and Walid bin Utba.
سمعت أبا ذر يقسم قسما: إن {هذان خصمان أختصموا في ربهم} إنها نزلت في الذين برزوا يوم بدر: حمزة وعلي وعبيدة بن الحارث، وعتبة وشيبة ابنا ربيعة والوليد بن عتبة.
Bukhari narrated it in the tafsir (4743), and Muslim in the tafsir (3033), both through Hushaym, from Abu Hashim, from Abu Majliz, from Qays bin Abbad, who said, then he mentioned it. The wording is Muslim's.