صحيح مسلم Sahih Muslim كتاب الإيمان The Book of Faith
باب بَيَانِ حُكْمِ عَمَلِ الْكَافِرِ إِذَا أَسْلَمَ بَعْدَهُ:

Chapter: Clarifying the ruling of the action of an unbeliever if he accepts Islam after it

4 hadith
Hadith 123
حَدَّثَنِي حَرْمَلَةُ بْنُ يَحْيَى ، أَخْبَرَنَا ابْنُ وَهْبٍ ، قَالَ : أَخْبَرَنِي يُونُسُ ، عَنِ ابْنِ شِهَابٍ ، قَالَ : أَخْبَرَنِي عُرْوَةُ بْنُ الزُّبَيْرِ ، أَنَّ حَكِيمَ بْنَ حِزَامٍ أَخْبَرَهُ ، أَنَّهُ قَالَ لِرَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : أَرَأَيْتَ أُمُورًا كُنْتُ أَتَحَنَّثُ بِهَا فِي الْجَاهِلِيَّةِ ، هَلْ لِي فِيهَا مِنْ شَيْءٍ ؟ فَقَالَ لَهُ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " أَسْلَمْتَ عَلَى مَا أَسْلَفْتَ مِنْ خَيْرٍ " وَالتَّحَنُّثُ التَّعَبُّدُ .
Hakim bin Hizam reported to 'Urwa bin Zubair that he said to the Messenger of Allah: Do you think that there is any thing for me (of he reward with the Lord) for the deed of religious purification that I did in the state of ignorance? Upon this he (the Apostle of Allah (ﷺ) ) said to him: You accepted Islam with all the previous virtues that you practised.
Hadith Reference Sahih Muslim / The Book of Faith / Hadith: 123
Hadith Grading محدثین: أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij «أحاديث صحيح مسلم كلها صحيحة ، أخرجه البخاري في ((صحيحه)) فى الزكاة، باب: من تصدق في الشرك ثم اسلم برقم (1369) وفى البيوع، باب: شراء المملوك من الحربي، وهبته وعتقه برقم (2107) وفي العتق، باب: عتق المشرك برقم (2401) وفى الادب، باب: من وصل رحمه في الشرك ثم اسلم برقم (5646) انظر ((التحفة)) برقم (3432)»
Hadith 123
وحَدَّثَنَا حسن الحلواني ، وَعَبْدُ بْنُ حميد ، قَالَ الْحُلْوَانِيُّ : حَدَّثَنَا ، وَقَالَ عَبد ، حَدَّثَنِي يَعْقُوبُ وَهُوَ ابْنُ إِبْرَاهِيمَ بْنِ سَعْدٍ ، حَدَّثَنَا أَبِي ، عَنِ صَالِحٍ ، عَنِ ابْنِ شِهَابٍ ، قَالَ : أَخْبَرَنِي عُرْوَةُ بْنُ الزُّبَيْرِ ، أَنَّ حَكِيمَ بْنَ حِزَامٍ أَخْبَرَهُ ، أَنَّهُ قَالَ لِرَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : أَيْ رَسُولَ اللَّهِ ، أَرَأَيْتَ أُمُورًا كُنْتُ أَتَحَنَّثُ بِهَا فِي الْجَاهِلِيَّةِ مِنْ صَدَقَةٍ ، أَوْ عَتَاقَةٍ ، أَوْ صِلَةِ رَحِمٍ ، أَفِيهَا أَجْرٌ ؟ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " أَسْلَمْتَ عَلَى مَا أَسْلَفْتَ مِنْ خَيْر " .
Hakim bin Hizam reported to 'Urwa bin Zubair that he said to the Messenger of Allah (ﷺ) : Messenger of Allah, do you think if there is any reward (of the Lord with me on the Day of Resurrection) for the deeds of religious purification that I performed in the state of ignorance, such as charity, freeing a slave, cementing of blood-relations? Upon this he (the Apostle of Allah (ﷺ) ) said to him: You have accepted Islam with all the previous virtues that you had practised.
Hadith Reference Sahih Muslim / The Book of Faith / Hadith: 123
Hadith Grading محدثین: أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij «أحاديث صحيح مسلم كلها صحيحة ، تقدم تخريجه فى الحديث السابق برقم (319)»
Hadith 123
حَدَّثَنَا إِسْحَاق بْنُ إِبْرَاهِيمَ ، وَعَبْدُ بْنُ حميد ، قَالَا : أَخْبَرَنَا عَبْدُ الرَّزَّاقِ ، أَخْبَرَنَا مَعْمَرٌ ، عَنِ الزُّهْرِيِّ بِهَذَا الإِسْنَادِ . ح وحَدَّثَنَا إِسْحَاق بْنُ إِبْرَاهِيمَ ، أَخْبَرَنَا أَبُو مُعَاوِيَةَ ، حَدَّثَنَا هِشَامُ بْنُ عُرْوَةَ ، عَنْ أَبِيهِ ، عَنْ حَكِيمِ بْنِ حِزَامٍ ، قَالَ : قُلْتُ : يَا رَسُولَ اللَّهِ ، أَشْيَاءَ كُنْتُ أَفْعَلُهَا فِي الْجَاهِلِيَّةِ ، قَالَ هِشَامٌ : يَعْنِي أَتَبَرَّرُ بِهَا ، فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " أَسْلَمْتَ عَلَى مَا أَسْلَفْتَ لَكَ مِنَ الْخَيْرِ " ، قُلْتُ : فَوَاللَّهِ لَا أَدَعُ شَيْئًا صَنَعْتُهُ فِي الْجَاهِلِيَّةِ إِلَّا فَعَلْتُ فِي الإِسْلَامِ مِثْلَهُ .
It is narrate on the authority of Hakim bin Hizam: I said: Messenger of Allah, I did so some of the deeds in the state of ignorance. (One of the transmitters Hisham bin 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.
Hadith Reference Sahih Muslim / The Book of Faith / Hadith: 123
Hadith Grading محدثین: أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij «أحاديث صحيح مسلم كلها صحيحة ، تقدم تخريجه برقم (319)»
Hadith 123
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ نُمَيْرٍ ، عَنْ هِشَامِ بْنِ عُرْوَةَ ، عَنْ أَبِيهِ ، أَنَّ حَكِيمَ بْنَ حِزَامٍ ، أَعْتَقَ فِي الْجَاهِلِيَّةِ مِائَةَ رَقَبَةٍ ، وَحَمَلَ عَلَى مِائَةِ بَعِيرٍ ، ثُمَّ أَعْتَقَ فِي الإِسْلَامِ مِائَةَ رَقَبَةٍ ، وَحَمَلَ عَلَى مِائَةِ بَعِيرٍ ، ثُمَّ أَتَى النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، فَذَكَرَ نَحْوَ حَدِيثِهِمْ .
Hakim b. Hizam freed one hundred slave and donated one hundred camels (for the sake of Allah) during the state of ignorance. Then he freed one hundred slaves and donated one hundred camel (for the sake of Allah) after) he had embraced Islam. He subsequently came to the Apostle (ﷺ). The rest of the hadith is the same as narrated above.
Hadith Reference Sahih Muslim / The Book of Faith / Hadith: 123
Hadith Grading محدثین: أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij «أحاديث صحيح مسلم كلها صحيحة ، تقدم تخريجه برقم (319)»