حَدَّثَنَا مُوسَى بْنُ هَارُونَ، ثنا أَبُو خَيْثَمَةَ زُهَيْرُ بْنُ حَرْبٍ، ثنا يَعْقُوبُ بْنُ إِبْرَاهِيمِ بْنِ سَعْدٍ، حَدَّثَنِي أَبِي، عَنْ صَالِحِ بْنِ كَيْسَانَ، عَنِ ابْنِ شِهَابٍ، أَخْبَرَنِي عُرْوَةُ بْنُ الزُّبَيْرِ أَنَّ حَكِيمَ بْنَ حِزَامٍ أَخْبَرَهُ أَنَّهُ قَالَ: يَا رَسُولَ اللهِ، أَرَأَيْتَ أُمُورًا كُنْتُ أَتَحَنَّثُ بِهَا فِي الْجَاهِلِيَّةِ مِنْ صَدَقَةٍ أَوْ عَتَاقَةٍ أَوْ صِلَةِ رَحِمٍ، أَفِيهَا أَجْرٌ؟ فَقَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: «أَسْلَمْتَ عَلَى مَا أَسْلَفْتَ مِنْ خَيْرٍ»
Hakim bin Hizam (may Allah be pleased with him) said: I said: O Messenger of Allah! What do you think about the deeds I used to do in the Days of Ignorance with the intention of righteousness, such as charity, freeing slaves or maintaining ties of kinship; is there a reward in them? The Messenger of Allah (peace and blessings be upon him) said: "You have embraced Islam along with the good deeds you did before."