The sun and the moon are not eclipsed on account of anyone's death or on account of anyone's birth. So when you see that, supplicate Allah, declare His greatness, and give alms.
Sunan Abi Dawud Book 3, Hadith 31