Hadith 15318

(حديث مرفوع) حَدَّثَنَا عَبْدُ الرَّزَّاقِ ، حَدَّثَنَا مَعْمَرٌ ، عَنْ الزُّهْرِيِّ ، عَنْ عُرْوَةَ بْنِ الزُّبَيْرِ ، عَنْ حَكِيمِ بْنِ حِزَامٍ ، قَالَ : قُلْتُ : يَا رَسُولَ اللَّهِ ، أَرَأَيْتَ أُمُورًا كُنْتُ أَتَحَنَّثُ بِهَا فِي الْجَاهِلِيَّةِ مِنْ عَتَاقَةٍ ، وَصِلَةِ رَحِمٍ ، هَلْ لِي فِيهَا أَجْرٌ ؟ فَقَالَ لَهُ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " أَسْلَمْتَ عَلَى مَا سَلَف مِنْ خَيْرٍ " .
It is narrated from Sayyiduna Hakeem bin Hizam that I once submitted in the court of Prophethood: O Messenger of Allah! Please tell me, many of the deeds I used to do in the time of ignorance, such as freeing slaves and maintaining ties of kinship, etc.—will I receive their reward? The Prophet (peace and blessings be upon him) said: All the good deeds you did before Islam, with which you became a Muslim, you will surely receive their reward and recompense.
Hadith Reference مسند احمد / مسند المكيين / 15318
Hadith Grading حکم دارالسلام: إسناده صحيح، خ: 1436، م: 123