Abu Hurairah reported,

The Messenger of Allah ﷺ used to say, after finishing the recitation in the dawn prayer, when he said the takbir and raised his head from bowing, "Allah hears whoever praises Him, our Lord, to You belongs all praise."Then, while still standing, he would say, "O Allah, save Walid bin Walid, Salama bin Hisham, Ayyash bin Abu Rabia, and the oppressed believers. O Allah, tighten Your grip upon Mudar, and make it upon them like the years of famine in the time of Yusuf. O Allah, curse Lihyan, Ril, Zakwan, and Usayya, who disobeyed Allah and His Messenger."Then it reached us that he stopped doing this when the verse was revealed, "Not for you is the decision in any matter, whether He turns to them in mercy or punishes them, for indeed they are wrongdoers" [Aal Imran 3:128].

Azami 11075

Sahih

عن أبي هريرة قال

كان رسول الله ﷺ يقول حين يفرغ من صلاة الفجر من القراءة، ويكبر، ويرفع رأسه سمع الله لمن حمده، ربنا ولك الحمد، ثم يقول وهو قائم: اللهم أنج الوليد بن الوليد، وسلمة بن هشام، وعياش بن أبي ربيعة، والمستضعفين من المؤمنين، واللهم اشدد وطأتك على مضر، واجعلها عليهم كسني يوسف. اللهم العن لحيان ورعلا وذكوان وعصية عصت الله ورسوله ثم بلغنا أنه ترك ذلك لما أنزل: {ليس لك من الأمر شيء أو يتوب عليهم أو يعذبهم فإنهم ظلمون} [سورة آل عمران: ١٢٨].

الأعظمي 11075صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications of adhan and prayer, and what is related to them
Section
Qunut in prayers when calamity befalls the Muslims
Numbering
Jami al-Kamil 11075 (2nd edition)
Azami 11075