It is narrated from Hazrat Mu'adh (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: Whoever frees a Muslim slave, it will become a ransom for him from Hell.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 22113
Hadith Gradingحکم دارالسلام:صحيح لغيره، وهذا إسناد منقطع ، قتادة لم يسمع من قيس