Sahih Muslim #679b · The Book of Mosques and Places of Prayer

Sahih MuslimKhufaf b. Ima
Sahih Muslim · Book 5 · The Book of Mosques and Places of Prayer
Sahih Muslim · كتاب 5 · كتاب المساجد ومواضع الصلاة
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 679bIn-book reference : Book 5, Hadith 391