The Book Pertaining to the Remembrance of Allah, Supplication, Repentance and Seeking Forgiveness (Kitab Al-Dhikr)
Muslim :: Book 35 : Hadith 6556
Anas reported Allah's Messenger (may peace be upon him) as saying: When you go to bed, say:" Praise is due to Allab 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."