The Prophet (ﷺ) ordered us to free slaves at the time of solar eclipses.

Sahih al-Bukhari Book 49 Hadith 3

Sahih al-Bukhari #2519

Manumission of Slaves 49:3

Narrated Asma' bint Abu Bakr:

The Prophet (ﷺ) ordered us to free slaves at the time of solar eclipses.

Chapter: Manumitting slaves at the time of eclipses

Grade: Sahih