He heard the Prophet (ﷺ), when he raised his head in the last rak'ah of the subh prayer…

Sunan an-Nasa'i Book 12 Hadith 50

Sunan an-Nasa'i #1078

The Book of The At-Tatbiq (Clasping One's Hands Together) 12:50

It was narrated from Salim, from his father, that:

He heard the Prophet (ﷺ), when he raised his head in the last rak'ah of the subh prayer, say: "O Allah, curse so-and-so and so-and-so," supplicating against some of the hypocrites. Then Allah revealed the words: "Not for you is the decision; whether He turns in mercy to (pardon) them or punishes them; verily, they are the wrongdoers."

Chapter: Cursing the hypocrites during the Qunut

Grade: Sahih (Darussalam)