It was narrated from Tawus from Ibn Abbas, that :
The Messenger of Allah (ﷺ) prayed when the sun was eclipsed, bowing eight times and prostrating four times.