´It was narrated from 'Abdullah bin 'Umar that:` The Messenger of Allah (ﷺ) said: "The sun and moon do not become eclipsed for death or birth of anyone, rather they are two of the signs of Allah (SWT) the Most High, so when you see that then pray."
Hadith ReferenceSunan an-Nasa'i / The Book of Eclipses / Hadith: 1462
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:متفق عليه