Mishkat al-Masabih 1488
‘Abd ar-Rahmin b. Samura said:
During the lifetime of God’s Messenger was shooting some of my arrows in Medina when an eclipse of the sun took place. I therefore threw them away and said, “I swear by God that I must see how God’s Messenger acts in a solar eclipse.” When I came to him he was standing in prayer raising his hands. He then began to glorify God, to acknowledge that He is the only God, to declare His greatness, to express His praise and make supplication till the eclipse came to an end. When the eclipse was over he recited two suras and prayed two rak'as . 

Muslim transmitted it in his Sahih from 'Abd ar-Rahman b. Samura, and the same occurs in Sharh as-sunna , on his authority, but in the copies of al-Masabih it is given on the authority of Jabir b. Samura.
وَعَنْ عَبْدِ الرَّحْمَنِ بْنِ سَمُرَةَ قَالَ: كُنْتُ أرتمي بأسهم لي بالمدين فِي حَيَاةَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذْ كُسِفَتِ الشَّمْسُ فَنَبَذْتُهَا. فَقُلْتُ: وَاللَّهِ لَأَنْظُرَنَّ إِلَى مَا حَدَثَ لِرَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي كُسُوفِ الشَّمْسِ. قَالَ: فَأَتَيْتُهُ وَهُوَ قَائِمٌ فِي الصَّلَاةِ رَافِعٌ يَدَيْهِ فَجعل يسبح ويهلل وَيكبر ويحمد وَيَدْعُو حَتَّى حَسَرَ عَنْهَا فَلَمَّا حَسَرَ عَنْهَا قَرَأَ سُورَتَيْنِ وَصَلَّى رَكْعَتَيْنِ. رَوَاهُ مُسْلِمٌ فِي صَحِيحِهِ عَنْ عَبْدِ الرَّحْمَنِ بْنِ سَمُرَةَ وَكَذَا فِي شَرْحِ السُّنَّةِ عَنْهُ وَفِي نُسَخِ الْمَصَابِيحِ عَنْ جَابِرِ بن سَمُرَة