Sahih Muslim , Book 7, Hadith 3164 (USC-MSA)

A hadith like this has been narrated on the authority of A'mash with the same chain of transmitters (but at the end) these words are added: " He who violated the covenant with a Muslim, there is upon him the curse of Allah, of angels and of all people. Neither an obligatory act nor a supererogatory act would be accepted from him as recompense on the Day of Resurrection; and in the hadith transmitted by two other narrators these words are not found:" He who claimed false paternity." And in the hadith transmitted by Waki' there is no mention of the Day of Resurrection.

وَحَدَّثَنِي عَلِيُّ بْنُ حُجْرٍ السَّعْدِيُّ، أَخْبَرَنَا عَلِيُّ بْنُ مُسْهِرٍ، ح وَحَدَّثَنِي أَبُو سَعِيدٍ، الأَشَجُّ حَدَّثَنَا وَكِيعٌ، جَمِيعًا عَنِ الأَعْمَشِ، بِهَذَا الإِسْنَادِ ‏.‏ نَحْوَ حَدِيثِ أَبِي كُرَيْبٍ عَنْ أَبِي، مُعَاوِيَةَ إِلَى آخِرِهِ وَزَادَ فِي الْحَدِيثِ ‏"‏ فَمَنْ أَخْفَرَ مُسْلِمًا فَعَلَيْهِ لَعْنَةُ اللَّهِ وَالْمَلاَئِكَةِ وَالنَّاسِ أَجْمَعِينَ لاَ يُقْبَلُ مِنْهُ يَوْمَ الْقِيَامَةِ صَرْفٌ وَلاَ عَدْلٌ ‏"‏ ‏.‏ وَلَيْسَ فِي حَدِيثِهِمَا ‏"‏ مَنِ ادَّعَى إِلَى غَيْرِ أَبِيهِ ‏"‏ ‏.‏ وَلَيْسَ فِي رِوَايَةِ وَكِيعٍ ذِكْرُ يَوْمِ الْقِيَامَةِ ‏.‏

sunnah.com