Salim bin Abdullah bin Umar reported,

The Messenger of Allah ﷺ used to invoke against Safwan bin Umaya, Suhayl bin Amr, and Harith bin Hisham, so the verse was revealed, "Not for you, [O Muhammad, but for Allah], is the decision" up to His statement, "for indeed, they are wrongdoers" [Al Imran 3:128].

Bukhari 4070

Sahih

وعن حنظلة بن أبي سفيان، سمعت

سالم بن عبد الله، يقول

كان رسول الله ﷺ يدعو على صفوان بن أمية وسهيل بن عمرو والحارث بن هشام فنزلت {ليس لك من الأمر شىء} إلى قوله {فإنهم ظالمون}.

البخاري 4070صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Expeditions
Chapter
It is not for you to decide. He may turn in mercy to them, or punish them, for they are wrongdoers
Numbering
Darussalam 4070
Bukhari 4070