When the Messenger of Allah (ﷺ) stood up for prayer at night, he would say the takbir, then say: Subhanaka Allahumma wa bihamdika, wa tabaraka ismuka, wa ta'ala jadduka, wa la ilaha ghayruka (Glory be to You, O Allah, and with Your praise, blessed is Your name, exalted is Your majesty, and there is no god other than You). Then he would say: La ilaha illa Allah (There is no god but Allah) three times, then say: Allahu akbaru kabira (Allah is the greatest, truly great) three times, then say: A'udhu billahi al-sami'i al-alim min al-shaytan al-rajim, min hamzihi wa nafhihi wa nafthihi (I seek refuge in Allah, the All-Hearing, the All-Knowing, from the accursed Satan, from his madness, his arrogance, and his poetry). Then he would recite.
Abu Dawud said: This tradition is reported from 'Ali ibn 'Ali from al-Hasan as mursal; the mistake originated from Ja'far.