From Sahih Bukhari (Hadith 2520): Narrated Asma' bint Abu Bakr:We were ordered to free slaves at the time of lunar eclipses