BAYHAQI 18293:
from Ḥakīm b. Ḥizām —
[Machine] I said, "O Messenger of Allah, what do you think about matters that I used to engage in during the period of ignorance, such as freeing slaves and maintaining family ties? Will I be rewarded for them?" The Prophet ﷺ said to him, "Have you embraced Islam upon what has preceded you of goodness?"
البيهقي ١٨٢٩٣:
عن حكيم بن حزام —
قُلْتُ يَا رَسُولَ اللهِ أَرَأَيْتَ أُمُورًا كُنْتُ أَتَحَنَّثُ بِهَا فِي الْجَاهِلِيَّةِ مِنْ عَتَاقَةٍ وَصِلَةِ رَحِمٍ هَلْ لِي فِيهَا مِنْ أَجْرٍ؟ فَقَالَ لَهُ النَّبِيُّ ﷺ أَسْلَمْتَ عَلَى مَا سَلَفَ لَكَ مِنْ خَيْرٍ