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.
bukhari:2538ʿUbayd b. Ismāʿīl > Abū Usāmah > Hishām from my father > Ḥakīm

My father told me that Hakim bin Hizam manumitted one-hundred slaves in the Pre-Islamic period of ignorance and slaughtered one-hundred camels (and distributed them in charity). When he embraced Islam he again slaughtered one-hundred camels and manumitted one-hundred slaves. Hakim said, "I asked Messenger of Allah ﷺ, 'O Messenger of Allah ﷺ! What do you think about some good deeds I used to practice in the Pre-Islamic period of ignorance regarding them as deeds of righteousness?' Allah's Apostle said, "You have embraced Islam along with all those good deeds you did."  

البخاري:٢٥٣٨حَدَّثَنَا عُبَيْدُ بْنُ إِسْمَاعِيلَ حَدَّثَنَا أَبُو أُسَامَةَ عَنْ هِشَامٍ أَخْبَرَنِي أَبِي أَنَّ حَكِيمَ بْنَ حِزَامٍ ؓ أَعْتَقَ فِي الْجَاهِلِيَّةِ مِائَةَ رَقَبَةٍ وَحَمَلَ عَلَى مِائَةِ بَعِيرٍ فَلَمَّا أَسْلَمَ حَمَلَ عَلَى مِائَةِ بَعِيرٍ وَأَعْتَقَ مِائَةَ رَقَبَةٍ قَالَ

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


See similar narrations below:

Collected by Bukhārī, Muslim, Aḥmad, Ḥākim, Ṭabarānī

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˺."  

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

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

muslim:123c[Chain 1] Isḥāq b. Ibrāhīm And ʿAbd b. Ḥumayd > ʿAbd al-Razzāq > Maʿmar > al-Zuhrī Bihadhā al-Isnād [Chain 2] Isḥāq b. Ibrāhīm > Abū Muʿāwiyah > Hishām b. ʿUrwah from his father > Ḥakīm b. Ḥizām

I said: Messenger of Allah, I did so some of the deeds in the state of ignorance. (One of the transmitters Hisham b. Urwa explained them as acts of piety. Upon this the Messenger, of Allah remarked: You have embraced Islam with all the previous acts of virtue. I said: By God, I would leave nothing undone in Islam the like of which I did in the state of ignorance.  

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

قُلْتُ يَا رَسُولَ اللَّهِ أَشْيَاءَ كُنْتُ أَفْعَلُهَا فِي الْجَاهِلِيَّةِ قَالَ هِشَامٌ يَعْنِي أَتَبَرَّرُ بِهَا فَقَالَ رَسُولُ اللَّهِ ﷺ أَسْلَمْتَ عَلَى مَا أَسْلَفْتَ لَكَ مِنَ الْخَيْرِ قُلْتُ فَوَاللَّهِ لاَ أَدَعُ شَيْئًا صَنَعْتُهُ فِي الْجَاهِلِيَّةِ إِلاَّ فَعَلْتُ فِي الإِسْلاَمِ مِثْلَهُ  

ahmad:15319ʿUthmān b. ʿUmar > Yūnus > al-Zuhrī > ʿUrwah > Ḥakīm b. Ḥizām

[Machine] He informed me that the Prophet (peace and blessings be upon him) said: I said, "O Messenger of Allah, what do you think of things that I used to do in the pre-Islamic era?" He said, "You have embraced Islam for what you have done before, and repentance is the act of worship."  

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

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

hakim:6047Abū Jaʿfar Aḥmad b. ʿUbayd al-Asadī al-Ḥāfiẓ Bihamdān > Ibrāhīm b. al-Ḥusayn > Minjāb b. al-Ḥārith > ʿAlī b. Mushir > Hishām b. ʿUrwah from his father

[Machine] "To the Messenger of Allah, have you seen something that I used to do during the time of ignorance and want to be rewarded for it? The Messenger of Allah replied, "You have embraced Islam, and you will be rewarded for what you have done before." Ibn Al-Dhahabi remained silent about it in his summary."  

الحاكم:٦٠٤٧أَخْبَرَنَا أَبُو جَعْفَرٍ أَحْمَدُ بْنُ عُبَيْدٍ الْأَسَدِيُّ الْحَافِظُ بِهَمْدَانَ ثَنَا إِبْرَاهِيمُ بْنُ الْحُسَيْنِ ثَنَا مِنْجَابُ بْنُ الْحَارِثِ ثَنَا عَلِيُّ بْنُ مُسْهِرٍ عَنْ هِشَامِ بْنِ عُرْوَةَ عَنْ أَبِيهِ قَالَ كَانَ حَكِيمُ بْنُ حِزَامٍ أَعْتَقَ مِائَةَ رَقَبَةٍ وَحَمَلَ عَلَى مِائَةِ بَعِيرٍ فِي الْجَاهِلِيَّةِ فَلَمَّا أَسْلَمَ قَالَ

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

tabarani:3085al-Ḥusayn b. Isḥāq al-Tustarī > ʿUthmān b. Abū Shaybah > ʿAbdah b. Sulaymān > Hishām b. ʿUrwah from his father > Ḥakīm b. Ḥizām

[Machine] I asked, "O Messenger of Allah, what do you think about the things I used to do during the time of ignorance (before Islam)? Can I justify them?" The Messenger of Allah ﷺ said, "You have embraced Islam and all the previous good deeds (before Islam) count." Hisham said, "He (the Messenger of Allah) used to free slaves even during the time of ignorance."  

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

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

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."  

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

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