Khafaf bin Ima reported,

The Messenger of Allah ﷺ said during the prayer, "O Allah, curse the tribes of Banu Lihyan, Ril, Zakwan, and Usayyah, for they disobeyed Allah and His Messenger. May Allah forgive Ghifar, and may Allah grant peace to Aslam."

Muslim 1557

Sahih

حدثني أبو الطاهر أحمد بن عمرو بن سرح المصري قال حدثنا ابن وهب عن الليث عن عمران بن أبي أنس عن حنظلة بن علي

عن خفاف بن إيماء الغفاري قال

قال رسول الله ﷺ في صلاة اللهم العن بني لحيان ورعلا وذكوان وعصية عصوا الله ورسوله غفار غفر الله لها وأسلم سالمها الله

مسلم 1557صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Mosques and places of prayer
Chapter
Recommendation of qunut in all prayers when a calamity befalls the Muslims
Numbering
Darussalam 1557
Muslim 1557