Hadithcore
Al-Adab Al-Mufrad, 413
da’if· Al-Albani

Ibn 'Abbas reported that the Prophet, (ﷺ), said, "Three things are not concealed and He forgives everything else to whomever He wills:

the one who dies and has not associated anything with Allah, the one who was not a sorcerer nor a follower of the sorcerers, and the one who did not have rancour towards his brother."

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

References2 variants
In-Book Reference
Book 22, Hadith 17
English Reference
Book 22, Hadith 413