حَدَّثَنَا مُطَّلِبُ بْنُ شُعَيْبٍ الْأَزْدِيُّ، حَدَّثَنَا عَبْدُ اللهِ بْنُ صَالِحٍ، حَدَّثَنِي اللَّيْثُ، حَدَّثَنِي عِمْرَانُ بْنُ أَبِي أَنَسٍ، عَنْ حَنْظَلَةَ بْنِ عَلِيٍّ، عَنْ خُفَافِ بْنِ إِيمَاءَ بْنِ رَحَضَةَ الْغِفَارِيِّ أَنَّهُ قَالَ: قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ فِي صَلَاةٍ: «اللهُمَّ الْعَنْ بَنِي لِحْيَانَ وَرِعْلًا وَذَكْوَانَ وَعُصَيَّةَ عَصَوْا اللهَ، وَغِفَارُ غَفَرَ اللهُ لَهَا، وَأَسْلَمُ سَالَمَهَا اللهُ»
It is narrated from Sayyiduna Khufaf bin Ima' bin Rahadah al-Ghifari (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said during prayer: "O Allah, curse Banu Lihyan, Ri'l, Dhakwan and Usayyah, who disobeyed Allah. As for Ghifar, may Allah forgive them, and as for Aslam, may Allah keep them safe."