Anas bin Malik reported,

And Hisham reported from Qatada, from Anas, that the Messenger of Allah ﷺ performed qunut for a month. Shuba said, "He cursed Some men," while Hisham said, "He supplicated against certain Arab tribes, then abandoned it after the rukuh." This is the wording of Hisham.Shuba reported from Qatada, from Anas, that the Prophet ﷺ performed qunut for a month, cursing Ril, Zakwan, and Lihyan.

Nasai 1078

Sahih

أخبرنا محمد بن المثنى قال حدثنا أبو داود قال حدثنا شعبة عن قتادة

عن أنس

ح وهشام عن قتادة عن أنس أن رسول الله ﷺ قنت شهرا قال شعبة لعن رجالا وقال هشام يدعو على أحياء من أحياء العرب ثم تركه بعد الركوع هذا قول هشام وقال شعبة عن قتادة عن أنس أن النبي ﷺ قنت شهرا يلعن رعلا وذكوان ولحيان

النسائي 1078صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Placing the hands between the knees in bowing
Chapter
Cursing in qunut
Numbering
Darussalam 1078
Nasai 1078