It is narrated from Hazrat Asma that the Prophet (peace be upon him) commanded us to free slaves on the occasion of a solar eclipse.