The World Federation One Stop Fiqh

Ruling 1474

The time for performing ṣalāt al‐āyāt for a solar or lunar eclipse commences from the moment the eclipse begins, and it continues until the sun or the moon goes back to its normal state (although it is better not to delay the prayer until the eclipse starts to reverse). However, completing ṣalāt al‐āyāt can be delayed until after the eclipse is over.51

51 This means that although a person must start performing ṣalāt al‐āyāt during the eclipse, he can continue performing it while the eclipse continues and need not finish it before the eclipse is over.