Abu Hurairah reported,

When the Messenger of Allah ﷺ would retire to his bed, he would say, "O Allah, Lord of the seven heavens, Lord of the earths, our Lord and Lord of all things, Splitter of the grain and the date-stone, Revealer of the Torah, the Gospel, and the Quran, I seek refuge in You from the evil of every creature whose forelock You hold. You are the First, so there is nothing before You. You are the Last, so there is nothing after You. You are the Manifest, so there is nothing above You. You are the Hidden, so there is nothing beyond You. Settle my debt for me and free me from poverty."

Ahmad 10924

Sahih

حدثنا حسن بن موسى حدثنا حماد بن سلمة عن سهيل بن أبي صالح عن أبيه

عن أبي هريرة

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

أحمد 10924صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 10924
Ahmad 10924