أَخْبَرَنَا مُحَمَّدُ بْنُ كَامِلٍ الْمَرْوَزِيُّ، عَنْ هُشَيْمٍ، عَنْ يُونُسَ، عَنِ الْحَسَنِ، عَنْ أَبِي بَكْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏‏"‏‏ إِنَّ الشَّمْسَ وَالْقَمَرَ آيَتَانِ مِنْ آيَاتِ اللَّهِ عَزَّ وَجَلَّ وَإِنَّهُمَا لاَ يَنْكَسِفَانِ لِمَوْتِ أَحَدٍ وَلاَ لِحَيَاتِهِ فَإِذَا رَأَيْتُمُوهُمَا فَصَلُّوا حَتَّى تَنْجَلِيَ ‏‏"‏‏ ‏‏.‏‏

It was narrated that Abu Bakrah said: "The Messenger of Allah (PBUH) said: 'The sun and moon are two signs of Allah(PBUH), and they do not become eclipsed for the death or birth of anyone. If you see that then pray until it (the eclipse) is over.'" Translation Not Available

Book reference: Sunan An Nisai Book 16 Hadith 1463
Web reference: Sunan An Nisai Volume 2 Book 16 Hadith 1464