صحيح البخاري Sahih Bukhari كتاب الأدب The Book of Al-Adab (Good Manners)
بَابُ مَنْ وَصَلَ رَحِمَهُ فِي الشِّرْكِ ثُمَّ أَسْلَمَ:

(16) Chapter. Whosoever kept good relations with his kith and kin while he was a Mushrik (pagan) and then embraced Islam.

1 hadith
Hadith 5992
حَدَّثَنَا أَبُو الْيَمَانِ ، أَخْبَرَنَا شُعَيْبٌ ، عَنِ الزُّهْرِيِّ ، قَالَ : أَخْبَرَنِي عُرْوَةُ بْنُ الزُّبَيْرِ ، أَنَّ حَكِيمَ بْنَ حِزَامٍ ، أَخْبَرَهُ أَنَّهُ قَالَ : يَا رَسُولَ اللَّهِ ، أَرَأَيْتَ أُمُورًا كُنْتُ أَتَحَنَّثُ بِهَا فِي الْجَاهِلِيَّةِ مِنْ صِلَةٍ وَعَتَاقَةٍ وَصَدَقَةٍ هَلْ لِي فِيهَا مِنْ أَجْرٍ ؟ قَالَ حَكِيمٌ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " أَسْلَمْتَ عَلَى مَا سَلَفَ مِنْ خَيْرٍ " وَيُقَالُ أَيْضًا : عَنْ أَبِي الْيَمَانِ ، أَتَحَنَّثُ وَقَالَ مَعْمَرٌ ، وَصَالِحٌ ، وَابْنُ الْمُسَافِرِ ، أَتَحَنَّثُ ، وَقَالَ ابْنُ إِسْحَاقَ : التَّحَنُّثُ : التَّبَرُّرُ ، وَتَابَعَهُمْ هِشَامٌ ، عَنْ أَبِيهِ .
Narrated Hakim bin Hizam: That he said, "O Allah's Apostle! What do you think about my good deeds which I used to do during the period of ignorance (before embracing Islam) like keeping good relations with my Kith and kin, manumitting of slaves and giving alms etc; Shall I receive the reward for that?" Allah's Apostle said, "You have embraced Islam with all those good deeds which you did.
Hadith Reference Sahih Bukhari / The Book of Al-Adab (Good Manners) / Hadith: 5992
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة