Sahih al-Bukhari, Book 49, Hadith 4 (Bukhari 2420)

Narrated Asma' bint Abu Bakr:

We were ordered to free slaves at the time of lunar eclipses.