Anas bin Malik reported,

The Messenger of Allah ﷺ, whenever he retired to his bed, 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."

Tirmidhi 3396

Sahih

حدثنا إسحق بن منصور أخبرنا عفان بن مسلم حدثنا حماد بن سلمة عن ثابت

عن أنس بن مالك رضي الله عنه

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

الترمذي 3396صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Supplications
Chapter
Supplication when retiring to bed
Numbering
Darussalam 3396
Tirmidhi 3396