عَنْ حَكِيمِ بْنِ حِزَامٍ رَضِيَ اللَّهُ عَنْهُ قَالَ أَعْتَقْتُ فِي الْجَاهِلِيَّةِ أَرْبَعِينَ مُحَرَّرًا فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ أَسْلَمْتَ عَلَى مَا سَبَقَ لَكَ مِنْ خَيْرٍ
Narrated by Sayyiduna Hakim bin Hizam (may Allah be pleased with him), he says: I had freed forty slaves during the period of ignorance. The Messenger of Allah (peace and blessings be upon him) said: You have entered Islam along with all the good deeds you had performed.