Abdullah bin Umar reported,

The Messenger of Allah ﷺ used to say when he lay down to sleep, "Praise be to Allah who has sufficed me, sheltered me, fed me, and given me drink, who has favored me and shown me grace, who has given me generously and abundantly. Praise be to Allah in every state. Allah, Lord of all things and their Sovereign, God of all things, I seek refuge in You from the Fire."

Azami 11247

Hasan

عن ابن عمر أنه حدثه

أن رسول الله ﷺ كان يقول إذا أخذ مضجعه: الحمد لله الذي كفاني وآواني وأطعمني وسقاني والذي من علي فأفضل، والذي أعطاني فأجزل، الحمد لله على كل حال، اللهم رب كل شيء ومليكه، وإله كل شيء، أعوذ بك من النار.

الأعظمي 11247حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Morning and evening supplications
Section
Supplications and remembrances narrated when going to sleep and when waking up
Numbering
Jami al-Kamil 11247 (2nd edition)
Azami 11247