Sahih al-Bukhari, Volume 5, Book 59, Hadith 397 (USC-MSA)

Narrated Salim's father: That he heard Allah's Messenger, when raising his head from bowing of the first rak`a of the morning prayer, saying, "O Allah! Curse so-and-so and so-and-so" after he had said, "Allah hears him who sends his praises to Him. Our Lord, all the Praises are for you!" So Allah revealed:-- "Not for you (O Muhammad! )......(till the end of Verse) they are indeed wrong-doers." (3.128)

حَدَّثَنَا يَحْيَى بْنُ عَبْدِ اللَّهِ السُّلَمِيُّ، أَخْبَرَنَا عَبْدُ اللَّهِ، أَخْبَرَنَا مَعْمَرٌ، عَنِ الزُّهْرِيِّ، حَدَّثَنِي سَالِمٌ، عَنْ أَبِيهِ، أَنَّهُ سَمِعَ رَسُولَ اللَّهِ صلى الله عليه وسلم إِذَا رَفَعَ رَأْسَهُ مِنَ الرُّكُوعِ مِنَ الرَّكْعَةِ الآخِرَةِ مِنَ الْفَجْرِ يَقُولُ ‏"‏ اللَّهُمَّ الْعَنْ فُلاَنًا وَفُلاَنًا وَفُلاَنًا ‏"‏‏.‏ بَعْدَ مَا يَقُولُ ‏"‏ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ رَبَّنَا وَلَكَ الْحَمْدُ ‏"‏‏.‏ فَأَنْزَلَ اللَّهُ ‏{‏لَيْسَ لَكَ مِنَ الأَمْرِ شَىْءٌ‏}‏ إِلَى قَوْلِهِ ‏{‏ فَإِنَّهُمْ ظَالِمُونَ‏}‏

sunnah.com

Salim bin `Abdullah said' "Allah's Messenger used to invoke evil upon Safwan bin Umaiya, Suhail bin `Amr and Al-Harith bin Hisham. So the Verse was revealed: -- "Not for you (O Muhammad!)......(till the end of Verse) For they are indeed wrong-doers." (3.128)

وَعَنْ حَنْظَلَةَ بْنِ أَبِي سُفْيَانَ، سَمِعْتُ سَالِمَ بْنَ عَبْدِ اللَّهِ، يَقُولُ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يَدْعُو عَلَى صَفْوَانَ بْنِ أُمَيَّةَ وَسُهَيْلِ بْنِ عَمْرٍو وَالْحَارِثِ بْنِ هِشَامٍ فَنَزَلَتْ ‏{‏لَيْسَ لَكَ مِنَ الأَمْرِ شَىْءٌ‏}‏ إِلَى قَوْلِهِ ‏{‏فَإِنَّهُمْ ظَالِمُونَ‏}‏‏.‏

sunnah.com