Abdullah bin Abbas reported,

Whenever the Messenger of Allah ﷺ rose for prayer in the depth 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 dwell within 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 Your help I have disputed, and to You I have brought my judgment. So forgive me what I have done before and what I will do later, what I have concealed and what I have made known. You are the One, there is no god but You."

Ahmad 2710

Sahih

قال حدثنا إسحاق قال أخبرنا مالك عن أبي الزبير عن طاوس

عن ابن عباس

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

أحمد 2710صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Abbas bin Abdul-Muttalib
Numbering
Darussalam 2710
Ahmad 2710