(Imām Bukhārī narrates): Rabī' ibn Yahyā narrated to us, he said: Zā'idah narrated to us, from Hishām, from Fātimah, from Asmā', may Allāh be pleased with her, she narrates that:
the Prophet ﷺ commanded the freeing of slaves during the solar eclipse.
Reference: Sahih Al Bukhari 1054