´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.
Hadith Referenceسنن نسائي / كتاب التطبيق / 1078
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:متفق عليه
Hadith Takhrij«حدیث شعبة عن قتادة عن أنس أخرجہ: صحیح مسلم/المساجد 54 (677) ، مسند احمد 3/216، 259، 278، (تحفة الأشراف: 1273)، وحدیث ہشام عن قتادة عن أنس أخرجہ: صحیح البخاری/المغازي 28 (4089)، صحیح مسلم/المساجد 54 (677)، سنن ابن ماجہ/الإقامة 145 (1243) ، مسند احمد 3/115، 180، 217، 249، 261، (تحفة الأشراف: 1354) (صحیح)»