(30) باب اللَّعْنِ فِي الْقُنُوتِ
It was narrated from Anas:
"The Messenger of Allah (ﷺ) said the Qunut for a month."- (One of the narrators) Shu'bah said: "He cursed some men." Hisham said: "He supplicated against some of the tribes of Arabs."-"Then he stopped doing that after bowing." This is what Hisham said. Shu'bah said, narrating from Qatadah, from Anas that the Prophet (ﷺ) said the Qunut for a month, cursing Ri'l, Dhawkan and Lihyan.
Reference: Sunan an-Nasa'i 1077
In-book reference: Book 12, Hadith 49
English translation: Vol. 2, Book 12, Hadith 1078