Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
nasai-kubra:505ʿAmr b. ʿAlī > Yazīd / Ibn Zurayʿ > Yūnus > al-Ḥasan > Abū Bakrah

[Machine] "We were with the Prophet when the sun was eclipsed, so he stood up and went to the mosque dragging his cloak made of camel's hair. The people followed him and he prayed two Rak'ahs just as you pray."  

الكبرى للنسائي:٥٠٥أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ قَالَ حَدَّثَنَا يَزِيدُ يَعْنِي ابْنَ زُرَيْعٍ قَالَ حَدَّثَنَا يُونُسُ عَنِ الْحَسَنِ عَنْ أَبِي بَكْرَةَ قَالَ

«كُنَّا عِنْدَ النَّبِيِّ ﷺ فَانْكَسَفَتِ الشَّمْسُ فَقَامَ إِلَى الْمَسْجِدِ يَجُرُّ رِدَاءَهُ مِنَ الْعَجَلَةِ فَقَامَ إِلَيْهِ النَّاسُ فَصَلَّى رَكْعَتَيْنِ كَمَا تُصَلُّونَ»