Sahih Muslim, Book 48, Hadith 87 (Muslim 6817)

Anas reported Allah's Messenger (ﷺ) as saying:

When you go to bed, say:" Praise is due to Allah Who fed us, provided us drink, sufficed us and provided us with shelter, for many a people there is none to suffice and none to provide shelter."