Firstly: How to offer the solar and lunar eclipse prayers
The solar and lunar eclipse prayers consist of two units where standing, recitation, bowing, [616] Al-Nawawi says: “They are in agreement that the second standing and the second bowing of the first unit are shorter than the first standing and bowing. Likewise, the second standing and bowing of the second unit are shorter than the first of them in the second unit.” (Sharh al-Nawawi `ala Muslim, 6/199) and prostration [617] This prayer is offered by saying the opening Allahu Akbar, reciting al-Fatihah and a surah, then bowing, then rising from the bow, reciting al-Fatihah a second time and a surah shorter than the first, then bowing at length, but not as long as the first act of bowing, then rising from the bow, then prostrating twice, then rising for the second unit. He does the same as he did for the first unit except that the second should be shorter than the first. Then he recites the tashahhud and ends the prayers with salams. occur twice during each unit. This is the position of the majority: the Malikis, Shafi`is, and and Hanbalis.