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."
حدثنا عثمان بن أبي شيبة حدثنا يزيد بن هارون أخبرنا حماد بن سلمة عن ثابت
أن رسول الله ﷺ كان إذا أوى إلى فراشه قال الحمد لله الذي أطعمنا وسقانا وكفانا وآوانا فكم ممن لا كافي له ولا مؤوي