Abdullah bin Abbas reported,

When the Messenger of Allah ﷺ rose during the depths of the night to pray, he would say,"O Allah, all praise belongs to You. You are the light of the heavens and the earth and all who dwell in them. All praise belongs to You. You are the sustainer of the heavens and the earth and all who dwell in them. All praise belongs to You. You are the Lord of the heavens and the earth and all who dwell in them. All praise belongs to You. 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, for Your sake I have disputed, and to You I have brought my judgment. So forgive me for what I have done before and what I will do, what I have concealed and what I have made public. You are my God, there is no god but You."

Ahmad 2812

Sahih

قال قرأت على عبد الرحمن عن مالك عن أبي الزبير المكي عن طاوس

عن عبد الله بن عباس

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

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