He heard the Messenger of Allah ﷺ, when raising his head from bowing in the final rakah of the dawn prayer, say after pronouncing, "Allah hears whoever praises Him, our Lord, to You belongs all praise," "O Allah, curse so-and-so, so-and-so, and so-and-so." Then Allah revealed, "Not for you, [O Muhammad, but for Allah], is the decision whether He should [cut them down] or forgive them or punish them, for indeed, they are wrongdoers." [Ali Imran 3:128].
أنه سمع رسول الله ﷺ إذا رفع رأسه من الركوع من الركعة الآخرة من الفجر يقول: اللهم العن فلانا وفلانا وفلانا بعد ما يقول: سمع الله لمن حمده، ربنا ولك الحمد فأنزل الله: {ليس لك من الأمر شيء أو يتوب عليهم أو يعذبهم فإنهم ظلمون}[سورة آل عمران: ١٢٨].
Bukhari narrated it in al-Maghazi (4069), from Yahya bin Abdullah Sulami, who said, Abdullah (that is, Ibn Mubarak) told us, Mamar told us, from Zuhri, Salim told me, from his father, and he mentioned it.Then he said, And from Hanzala bin Abu Sufyan, I heard Salim bin Abdullah say, "The Messenger of Allah ﷺ was in the desert, supplicating against Safwan bin Umaya, Suhayl bin Amr, and Harith bin Hisham, so this was revealed, "You have no say in the matter, whether He turns to them in mercy or punishes them, for they are wrongdoers" [Al Imran 3:128]."His words "and from Hanzala" are joined to Mamar, and the one who narrated from him is Abdullah bin Mubarak, except that this is mursal, for Salim bin Abdullah bin Umar never met the Prophet ﷺ, and the three men he named had only accepted Islam on the day of the conquest. Perhaps this is the secret behind the revelation of the words of Allah Almighty, "You have no say in the matter" [Al Imran 3:128]. See Fath al-Bari by Ibn Hajar.Tirmidhi (3004) connected it by mentioning "from his father," and named "Abu Sufyan" in place of "Suhayl bin Amr," but its chain includes Umar bin Hamza, the one who narrated from Salim, namely Umar bin Hamza bin Abdullah bin Umar bin Khattab. Nasai graded him daif, and Ahmad said, "His narrations are objectionable." The conclusion, as stated in Taqrib, is that he is "daif."Tirmidhi said, "This is a hasan hadith, considered rare in the narration of Umar bin Hamza, from Salim, from his father. Zuhri also narrated it from Salim, from his father. Muhammad bin Ismail did not recognize it through the narration of Umar bin Hamza, but he recognized it through the narration of Zuhri." End of quote.