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].
كان رسول الله ﷺ يقول حين يفرغ من صلاة الفجر من القراءة، ويكبر، ويرفع رأسه سمع الله لمن حمده، ربنا ولك الحمد، ثم يقول وهو قائم: اللهم أنج الوليد بن الوليد، وسلمة بن هشام، وعياش بن أبي ربيعة، والمستضعفين من المؤمنين، واللهم اشدد وطأتك على مضر، واجعلها عليهم كسني يوسف. اللهم العن لحيان ورعلا وذكوان وعصية عصت الله ورسوله ثم بلغنا أنه ترك ذلك لما أنزل: {ليس لك من الأمر شيء أو يتوب عليهم أو يعذبهم فإنهم ظلمون} [سورة آل عمران: ١٢٨].
Bukhari narrated it in the Tafsir (4560), and Muslim in the Masajid (675), both of them through Ibn Shihab, from Saeed bin Musayab and Abu Salama bin Abdul-Rahman, from Abu Hurairah, who related the hadith. The wording given is that of Muslim, while Bukhari abridged it.It is established from Umar bin Khattab that he used to recite the qunut in Fajr, saying, "In the name of Allah, the Most Gracious, the Most Merciful. O Allah, we seek Your help, we believe in You, we rely upon You, we praise You with all good, and we do not disbelieve in You." Then he would recite, "In the name of Allah, the Most Gracious, the Most Merciful. O Allah, You alone we worship, and to You we pray and prostrate, and toward You we strive and hasten. We hope for Your mercy and we fear Your punishment, for Your punishment surely overtakes the disbelievers. O Allah, punish the disbelieving People of the Book who turn people away from Your path."Ibn Abu Shayba narrated it (7104) from Hafs bin Ghiyath, from Ibn Jurayj, from Ataa, from Ubayd bin Umayr, who said, "I heard Umar recite the qunut in Fajr," and then related it. Its chain of transmission is sahih, and it is a report attributed only to Umar bin Khattab, not going back to the Prophet.What Ibn Jurayj narrated from Ataa, even using the looser form of "an" rather than an explicit statement of hearing, is to be understood as meaning that he did hear from him directly, even though he did not explicitly state so here, just as Ibn Jurayj himself explicitly stated elsewhere. The hadith has also been narrated through other chains from Umar with some rearrangement, omission, and addition.