Sahih Muslim #323 · The Book of Faith

Sahih MuslimHakim b. Hizam reported to 'Urwa b. Zubair that he said to the Messenger of Allah
Sahih Muslim · Book 1 · The Book of Faith
Sahih Muslim · كتاب 1 · كتاب الإيمان
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 Messenger of Allah) said to him: You accepted Islam with all the previous virtues that you practised.
حَدَّثَنِي حَرْمَلَةُ بْنُ يَحْيَى، أَخْبَرَنَا ابْنُ وَهْبٍ، قَالَ أَخْبَرَنِي يُونُسُ، عَنِ ابْنِ شِهَابٍ، قَالَ أَخْبَرَنِي عُرْوَةُ بْنُ الزُّبَيْرِ، أَنَّ حَكِيمَ بْنَ حِزَامٍ، أَخْبَرَهُ أَنَّهُ، قَالَ لِرَسُولِ اللَّهِ صلى الله عليه وسلم أَرَأَيْتَ أُمُورًا كُنْتُ أَتَحَنَّثُ بِهَا فِي الْجَاهِلِيَّةِ هَلْ لِي فِيهَا مِنْ شَىْءٍ فَقَالَ لَهُ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏
"‏ أَسْلَمْتَ عَلَى مَا أَسْلَفْتَ مِنْ خَيْرٍ ‏"‏ ‏.‏ وَالتَّحَنُّثُ التَّعَبُّدُ ‏.‏
Reference : Sahih Muslim 323In-book reference : Book 1, Hadith 230