Sunan Abi Dawud Book 2, Hadith 375
I head the Prophet(ﷺ) uttering (all these supplications) in a supererogatory prayer; he narrated the tradition in a similar manner.
Jabir saw the Messenger of Allah (ﷺ) observing prayer. (The narrator Amr said: I do not know which prayer he was offering.)
He (the Prophet) said: Allah is altogether great; Allah is altogether great; Allah is altogether great; and praise be to Allah in abundance; and praise be to Allah is abundance; and praise be to Allah in abundance. Glory be to Allah in the morning and after (saying it three times). I seek refuge in Allah from the accursed devil, from his puffing up (nafkh), his spitting (nafth) and his evil suggestion (hamz).
He (Amr) said: His nafth it poetry, his nafkh is pride, and his hamz is madness.
Asim ibn Humayd said: I asked Aisha: By what words the Messenger of Allah (ﷺ) would begin his supererogatory prayer at night?
She replied: You ask me about a thing of which no one asked me before you. When he stood up, be uttered the takbir (Allah is most great) ten times, and uttered "Praise be to Allah" ten times, and uttered "Glory be to Allah " ten times, and uttered "There is no god but Allah" ten times, and sought forgiveness ten times, and said: O Allah, forgive me, and guide me, and give me sustenance, and keep me well, and he sought refuge in Allah from the hardship of standing before Allah on the Day of Judgment.
Abu Dawud said: This tradition has also been narrated by Khalid b. Ma'dan from Rab'iah al-Jarashi on the authority of 'Aishah.