That he heard Messenger of Allah ﷺ on raising his head from the bowing in the last rakʿa in the Fajr prayer, saying, "O Allah, curse such-and-such person and such-and-such person, and such-and-such person," after saying, "Allah hears him who sends his praises to Him, O our Lord, all praise is for you." So Allah revealed:--"Not for you (O Muhammad) (but for Allah) is the decision, verily they are indeed wrongdoers." (3.128)
أَنَّهُ سَمِعَ رَسُولَ اللَّهِ ﷺ إِذَا رَفَعَ رَأْسَهُ مِنَ الرُّكُوعِ فِي الرَّكْعَةِ الآخِرَةِ مِنَ الْفَجْرِ يَقُولُ اللَّهُمَّ الْعَنْ فُلاَنًا وَفُلاَنًا وَفُلاَنًا بَعْدَ مَا يَقُولُ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ رَبَّنَا وَلَكَ الْحَمْدُ فَأَنْزَلَ اللَّهُ {لَيْسَ لَكَ مِنَ الأَمْرِ شَىْءٌ} إِلَى قَوْلِهِ {فَإِنَّهُمْ ظَالِمُونَ} رَوَاهُ إِسْحَاقُ بْنُ رَاشِدٍ عَنِ الزُّهْرِيِّ