Anas bin Malik reported,

Anas reported that whenever the Messenger of Allah ﷺ settled into his bed, he would say, "Praise be to Allah who has fed us, given us drink, sufficed us, and provided us with shelter. How many there are who have no one to suffice them and no one to shelter them."

Azami 11242

Sahih

عن أنس

أن رسول الله ﷺ كان إذا أوى إلى فراشه قال: الحمد لله الذي أطعمنا وسقانا وكفانا وآوانا فكم ممن لا كافي له ولا مؤوي.

الأعظمي 11242صحيح
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 11242 (2nd edition)
Azami 11242