Narrated Asma:
The Prophet (peace be upon him) used to command us to free slaves on the occasion of an eclipse