Abdullah bin al-Harith narrates from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that he led a prayer in Basrah during an earthquake. He stood for a long time, then bowed, then raised his head from bowing and stood for a long time, then bowed for a long time, then raised his head from bowing and stood for a long time, then bowed, and after that prostrated. Then he stood up for the second rak'ah and did the same. So his prayer had six bowings and four prostrations.
Qatadah (may Allah have mercy on him) said about this hadith that this is how the prayer for the signs used to be. Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) also said that this is how the prayer for the signs used to be.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب صلاة الخسوف / 6382