Shama'il al-Muhammadiya 246
Anas bin Maalik (may Allah be pleased with him) says:
"When Messenger of Allah ﷺ went to bed, he recited this du'aa:Alhamdulillaahil ladhi at'a-manaa wa-saqaanaa wa-kafaanaa wa-aa-waa-naa-fa-kam mim-mal laa kaafiya lahu wa-laa mu-wiya.Translation...'Praise be to Allah Who gave us food and drink, provided us sufficiently, and gave us (a place for) shelter! How many there are who have neither a provider nor a shelterer!'
حَدَّثَنَا إِسْحَاقُ بْنُ مَنْصُورٍ، قَالَ: حَدَّثَنَا عَفَّانُ، قَالَ: حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ ثَابِتٍ، عَنْ أَنَسِ بْنِ مَالِكٍ، أَنَّ رَسُولَ اللهِ ﷺ، كَانَ إِذَا أَوَى إِلَى فِرَاشِهِ، قَالَ: الْحَمْدُ لِلَّهِ الَّذِي أَطْعَمَنَا وَسَقَانَا وَكَفَانَا وَآوَانَا، فَكَمْ مِمَّنْ لا كَافِيَ لَهُ وَلا مُؤْوِي.