Abu Hurairah reported,

The Prophet ﷺ used to say when he retired to his bed, "Allah, Lord of the seven heavens, Lord of the earth, Lord of everything, 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 8960

Sahih

حدثنا عفان حدثنا وهيب حدثنا سهيل عن أبيه

عن أبي هريرة

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

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