[Machine] "I emancipated forty slaves during the pre-Islamic era (ignorance). So, I asked the Prophet ﷺ if I would receive any reward for it. He replied, 'You have already done a good deed by embracing Islam.'" This is an authentic narration according to the conditions set by both Sheikhain (referring to Imam Bukhari and Imam Muslim).
أَعْتَقْتُ أَرْبَعِينَ مُحَرَّرًا فِي الْجَاهِلِيَّةِ فَسَأَلْتُ النَّبِيَّ ﷺ هَلْ لِي فِيهِمْ مِنْ أَجْرٍ؟ فَقَالَ «أَسْلَمْتَ عَلَى مَا سَبَقَ لَكَ» صَحِيحٌ عَلَى شَرْطِ الشَّيْخَيْنِ على شرط البخاري ومسلم