It was narrated from An-Nu'man bin Bashir that :
The Prophet (ﷺ) said: "If there is an eclipse of the sun or the moon, pray like the last obligatory prayer you did before that."