Sahih al-Bukhari 5992
Abul Yaman narrated to us that Shu'aib told us. He narrated from Zuhri. Zuhri said: Urwah bin Zubair told me that Hazrat Hakim bin Hizam (ra) told him that Hakim (ra) said: O Messenger of Allah (saw)! You (saw) must have seen that there were some deeds which I used to do in the time of ignorance (Jahiliyyah), regarding them as good, that is, keeping ties of kinship, freeing slaves and giving charity. Will I receive any reward for them too? Hazrat Hakim (ra) used to say that the Messenger of Allah (saw) said: “You have become a Muslim on account of those very good deeds which you did before.” And it is also said that (the word) atahannathu is reported from Abul Yaman; and Ma'mar, Salih and Ibn Musafir said: atahannathu. Ibn Ishaq said: Tahannuth means doing good. And Hisham, too, narrating from his father, narrated it like them.
AI-translated by Islam-Today
Book 16: Good relations with kith and kin while a Mushrik then embraced Islam