Khufaf b. Ima' reported that the Messenger of Allah (ﷺ), bowed (in prayer) and then lifted his head and then said:
So far as the tribe of Ghifar is concerned, Allah had pardoned it, and Allah had granted protection to the tribe of Aslam, and as for the tribe of Usayya, It had disobeyed Allah and His Messenger, (and further said): O Allah! curse the tribe of Lihyan curse Ri'l, and Dhakwan, and then fell in prostration. It is after this that the cursing of the unbelievers got a sanction.
Reference: Sahih Muslim 679 b In-book : Book 5, Hadith 394 USC-MSA web (English) : Book 4, Hadith 1446 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.