Abu Zubair says that I asked Sayyiduna Jabir (may Allah be pleased with him) about the solar eclipse: he replied that I heard the Prophet (peace and blessings be upon him) say that the moon and the sun are eclipsed; when you see such a thing, then keep performing prayer until the eclipse is over.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 14762
Hadith Gradingحکم دارالسلام:حديث صحيح، وهذا إسناد ضعيف من أجل ابن لهيعة