Abdullah bin Abbas reported,

Whenever the Messenger of Allah ﷺ rose for prayer in the depths of the night, he would say, "O Allah, to You belongs all praise. You are the light of the heavens and the earth. To You belongs all praise. You are the Sustainer of the heavens and the earth. To You belongs all praise. You are the Lord of the heavens and the earth and all who are in them. You are the Truth, Your word is truth, Your promise is truth, the meeting with You is truth, Paradise is truth, the Fire is truth, and the Hour is truth. O Allah, to You I have submitted, in You I have believed, upon You I have relied, to You I have turned in repentance, by You I have disputed, and to You I have brought my judgment. So forgive me what I have done in the past and what I will do in the future, what I have concealed and what I have made known. You are my God, there is no god but You."

Abu Dawud 771

Sahih

حدثنا عبد الله بن مسلمة عن مالك عن أبي الزبير عن طاوس

عن ابن عباس

أن رسول الله ﷺ كان إذا قام إلى الصلاة من جوف الليل يقول اللهم لك الحمد أنت نور السموات والأرض ولك الحمد أنت قيام السموات والأرض ولك الحمد أنت رب السموات والأرض ومن فيهن أنت الحق وقولك الحق ووعدك الحق ولقاؤك حق والجنة حق والنار حق والساعة حق اللهم لك أسلمت وبك آمنت وعليك توكلت وإليك أنبت وبك خاصمت وإليك حاكمت فاغفر لي ما قدمت وأخرت وأسررت وأعلنت أنت إلهي لا إله إلا أنت

أبو داود 771صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
What is said to begin the prayer from supplication
Numbering
Darussalam 771
Abu Dawud 771