Ubada bin Samit reported,

The Prophet ﷺ said, "Whoever wakes during the night and says, 'There is no god but Allah alone, with no partner. To Him belongs the dominion and to Him belongs all praise, and He has power over all things. Praise be to Allah, glory be to Allah, there is no god but Allah, Allah is the greatest, and there is no might nor power except through Allah,' and then says, 'Allah, forgive me,' or makes any supplication, it will be answered. And if he performs ablution and prays, his prayer will be accepted."

Azami 11066

Sahih

عن عبادة بن الصامت

عن النبي ﷺ قال: من تعار من الليل فقال: لا إله إلا الله وحده لا شريك له، له الملك وله الحمد، وهو على كل شيء قدير، الحمد لله، وسبحان الله، ولا إله إلا الله، والله أكبر، ولا حول ولا قوة إلا بالله، ثم قال: اللهم اغفر لي، أو دعا، استجيب له، فإن توضأ وصلى قبلت صلاته.

الأعظمي 11066صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications of adhan and prayer, and what is related to them
Section
What is recommended of remembrance when rising for tahajjud and during tahajjud
Numbering
Jami al-Kamil 11066 (2nd edition)
Azami 11066