Ibn ‘Abbas said that when an eclipse of the sun took place, God’s Messenger prayed performing eight bowings and four prostrations.