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 6434

Sahih

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

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

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

مسلم 6434صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Virtues of the Companions, may Allah be pleased with them
Chapter
Supplication of the Prophet ﷺ for Ghifar and Aslam
Numbering
Darussalam 6434
Muslim 6434