It is narrated from Sayyida Asma bint Abi Bakr (may Allah be pleased with them both) that when the sun was eclipsed, the Messenger of Allah (peace and blessings be upon him) ordered charity to be given.
Hadith Referenceسنن دارمي / من كتاب الصللاة / 1570