It is narrated from Sayyiduna Hakim bin Hizam that I had freed forty slaves during the time of ignorance. The Prophet (ﷺ) said: You have become a Muslim along with all the good deeds you did before (you will surely receive the reward for them).