The Messenger of Allah ﷺ said, "The sun and the moon do not eclipse for the death or birth of anyone. They are two signs among the signs of Allah, so when you see them, perform the prayer."
حدثنا هارون بن معروف حدثنا عبد الله بن وهب أخبرني عمرو بن الحارث أن عبد الرحمن بن القاسم حدثه عن أبيه
عن رسول الله ﷺ أنه قال إن الشمس والقمر لا ينكسفان لموت أحد ولا لحياته ولكنهما آية من آيات الله فإذا رأيتموهما فصلوا
Its isnad is sahih, and it is a repeat of 5883 with this same isnad.