Hadithcore
Sahih Muslim, 679 c
sahih

A hadith like this has been transmitted by Khufaf b. Ima' except this that he did not mention (these words):

" cursing of unbelievers got a sanctions.

حَدَّثَنَا يَحْيَى بْنُ أَيُّوبَ، حَدَّثَنَا إِسْمَاعِيلُ، قَالَ وَأَخْبَرَنِيهِ عَبْدُ الرَّحْمَنِ بْنُ حَرْمَلَةَ، عَنْ حَنْظَلَةَ بْنِ عَلِيِّ بْنِ الأَسْقَعِ، عَنْ خُفَافِ بْنِ إِيمَاءٍ، ‏.‏ بِمِثْلِهِ إِلاَّ أَنَّهُ لَمْ يَقُلْ فَجُعِلَتْ لَعْنَةُ الْكَفَرَةِ مِنْ أَجْلِ ذَلِكَ ‏.‏

References2 variants
In-Book Reference
Book 5, Hadith 392
USC-MSA web (English) reference
Book 4, Hadith 1447 (deprecated numbering scheme)