IBNHIBBAN 329:
from Ḥakīm b. Ḥizām —
[Machine] He informed him that he said, "O Messenger of Allah, what do you think about matters that I used to engage in during the period of ignorance, such as maintaining ties of kinship, freeing slaves, and giving charity? Is there any reward in them?" The Prophet ﷺ said, "You have embraced Islam upon what has preceded for you from reward."
ابن حبّان ٣٢٩:
عن حكيم بن حزام —
أَخْبَرَهُ أَنَّهُ قَالَ يَا رَسُولَ اللَّهِ أَرَأَيْتَ أُمُورًا كُنْتُ أَتَحَنَّثُ بِهَا فِي الْجَاهِلِيَّةِ مِنْ صِلَةٍ وَعَتَاقَةٍ وَصَدَقَةٍ فَهَلْ فِيهَا أَجْرٌ؟ فقَالَ النَّبِيُّ ﷺ «أَسْلَمْتَ عَلَى مَا سَلَفَ لَكَ مِنْ أَجْرٍ»