Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:18293Abū al-Ḥusayn b. Bishrān> Ismāʿīl b. Muḥammad al-Ṣaffār > Aḥmad b. Manṣūr > ʿAbd al-Razzāq > Maʿmar > al-Zuhrī > ʿUrwah b. al-Zubayr > Ḥakīm b. Ḥizām

[Machine] I said, "O Messenger of Allah, what do you think about matters that I used to engage in during the period of ignorance, such as freeing slaves and maintaining family ties? Will I be rewarded for them?" The Prophet ﷺ said to him, "Have you embraced Islam upon what has preceded you of goodness?"  

البيهقي:١٨٢٩٣أَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ بِشْرَانَ بِبَغْدَادَ أنبأ إِسْمَاعِيلُ بْنُ مُحَمَّدٍ الصَّفَّارُ ثنا أَحْمَدُ بْنُ مَنْصُورٍ ثنا عَبْدُ الرَّزَّاقِ أنبأ مَعْمَرٌ عَنِ الزُّهْرِيِّ عَنْ عُرْوَةَ بْنِ الزُّبَيْرِ عَنْ حَكِيمِ بْنِ حِزَامٍ ؓ قَالَ

قُلْتُ يَا رَسُولَ اللهِ أَرَأَيْتَ أُمُورًا كُنْتُ أَتَحَنَّثُ بِهَا فِي الْجَاهِلِيَّةِ مِنْ عَتَاقَةٍ وَصِلَةِ رَحِمٍ هَلْ لِي فِيهَا مِنْ أَجْرٍ؟ فَقَالَ لَهُ النَّبِيُّ ﷺ أَسْلَمْتَ عَلَى مَا سَلَفَ لَكَ مِنْ خَيْرٍ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ إِسْحَاقَ بْنِ رَاهَوَيْهِ وَغَيْرِهِ عَنْ عَبْدِ الرَّزَّاقِ وَأَخْرَجَهُ الْبُخَارِيُّ مِنْ وَجْهٍ آخَرَ عَنْ مَعْمَرٍ

See similar narrations below:

Collected by Bukhārī, Aḥmad, Ṭabarānī, Bayhaqī

Converting to Islam does not erase the reward for any of the good done before Islam

bukhari:1436ʿAbdullāh b. Muḥammad > Hishām > Maʿmar > al-Zuhrī > ʿUrwah > Ḥakīm b. Ḥizām

I asked the Messenger of Allah ﷺ, "Before embracing Islam I used to do good deeds like giving in charity, freeing slaves, and the keeping of good relations with kith and kin. Shall I be rewarded for those deeds?" The Prophet ﷺ replied, "You became Muslim ˹along˺ with ˹the rewards for˺ all those good deeds ˹you have done in the past and without carrying the sin of any of the bad deeds of the past˺."  

البخاري:١٤٣٦حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ حَدَّثَنَا هِشَامٌ حَدَّثَنَا مَعْمَرٌ عَنِ الزُّهْرِيِّ عَنْ عُرْوَةَ عَنْ حَكِيمِ بْنِ حِزَامٍ ؓ قَالَ

قُلْتُ يَا رَسُولَ اللَّهِ، أَرَأَيْتَ أَشْيَاءَ كُنْتُ أَتَحَنَّثُ بِهَا فِي الْجَاهِلِيَّةِ مِنْ صَدَقَةٍ أَوْ عَتَاقَةٍ وَصِلَةِ رَحِمٍ فَهَلْ فِيهَا مِنْ أَجْرٍ؟ فَقَالَ النَّبِيُّ ﷺ: «أَسْلَمْتَ عَلَى مَا سَلَفَ مِنْ خَيْرٍ.»  

ahmad:15318ʿAbd al-Razzāq > Maʿmar > al-Zuhrī > ʿUrwah b. al-Zubayr > Ḥakīm b. Ḥizām

[Machine] I said, "O Messenger of Allah, what do you think of actions that I used to do during the time of ignorance, such as freeing a slave or maintaining family ties? Do I receive rewards for them?" The Prophet ﷺ replied, "You have embraced Islam upon what has preceded of goodness."  

أحمد:١٥٣١٨حَدَّثَنَا عَبْدُ الرَّزَّاقِ حَدَّثَنَا مَعْمَرٌ عَنْ الزُّهْرِيِّ عَنْ عُرْوَةَ بْنِ الزُّبَيْرِ عَنْ حَكِيمِ بْنِ حِزَامٍ قَالَ

قُلْتُ يَا رَسُولَ اللهِ أَرَأَيْتَ أُمُورًا كُنْتُ أَتَحَنَّثُ بِهَا فِي الْجَاهِلِيَّةِ مِنْ عَتَاقَةٍ وَصِلَةِ رَحِمٍ هَلْ لِي فِيهَا أَجْرٌ؟ فَقَالَ لَهُ النَّبِيُّ ﷺ أَسْلَمْتَ عَلَى مَا سَلَفَ مِنْ خَيْرٍ  

tabarani:3086Isḥāq b. Ibrāhīm al-Dabarī > ʿAbd al-Razzāq > Maʿmar > al-Zuhrī > ʿUrwah > Ḥakīm b. Ḥizām

[Machine] I said, "O Messenger of Allah, what do you think about matters in which I used to engage in during the pre-Islamic period, such as being kind to relatives and maintaining family ties? Will I be rewarded for them?" The Prophet ﷺ replied, "You have embraced Islam with all the good deeds you have done before."  

الطبراني:٣٠٨٦حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ الدَّبَرِيُّ عَنْ عَبْدِ الرَّزَّاقِ عَنْ مَعْمَرٍ عَنِ الزُّهْرِيِّ عَنْ عُرْوَةَ عَنْ حَكِيمِ بْنِ حِزَامٍ قَالَ

قُلْتُ يَا رَسُولَ اللهِ أَرَأَيْتَ أُمُورًا كُنْتُ أَتَحَنَّثُ فِيهَا فِي الْجَاهِلِيَّةِ مِنْ عَتَاقَةٍ وَصِلَةِ رَحِمٍ هَلْ لِي فِيهَا مِنْ أَجْرٍ؟ فَقَالَ النَّبِيُّ ﷺ «أَسْلَمْتَ عَلَى مَا سَلَفَ لَكَ مِنْ خَيْرٍ»  

bayhaqi:21596Abū al-Ḥusayn b. Bishrān> Ismāʿīl b. Muḥammad al-Ṣaffār > Aḥmad b. Manṣūr al-Ramādī > ʿAbd al-Razzāq > Maʿmar > al-Zuhrī > ʿUrwah b. al-Zubayr > Ḥakīm b. Ḥizām

[Machine] I asked, O Messenger of Allah, what do you think about things that I used to do in the days of ignorance regarding freeing slaves and maintaining ties of kinship, do I have any reward for them? The Prophet ﷺ said, "You have embraced Islam with what preceded it of goodness."  

البيهقي:٢١٥٩٦أَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ بِشْرَانَ بِبَغْدَادَ أنبأ إِسْمَاعِيلُ بْنُ مُحَمَّدٍ الصَّفَّارُ ثنا أَحْمَدُ بْنُ مَنْصُورٍ الرَّمَادِيُّ ثنا عَبْدُ الرَّزَّاقِ أنبأ مَعْمَرٌ عَنِ الزُّهْرِيِّ عَنْ عُرْوَةَ بْنِ الزُّبَيْرِ عَنْ حَكِيمِ بْنِ حِزَامٍ قَالَ

قُلْتُ يَا رَسُولَ اللهِ أَرَأَيْتَ أُمُورًا كُنْتُ أَتَحَنَّثُ بِهَا فِي الْجَاهِلِيَّةِ مِنْ عَتَاقَةٍ وَصِلَةِ رَحِمٍ هَلْ لِي فِيهَا مِنْ أَجْرٍ؟ فَقَالَ النَّبِيُّ ﷺ أَسْلَمْتَ عَلَى مَا سَلَفَ لَكَ مِنْ خَيْرٍ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ إِسْحَاقَ بْنِ رَاهَوَيْهِ عَنْ عَبْدِ الرَّزَّاقِ وَأَخْرَجَهُ الْبُخَارِيُّ مِنْ وَجْهٍ آخَرَ عَنْ مَعْمَرٍ