English : Book 38, Hadith 246
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا إِسْحَاقُ بْنُ مَنْصُورٍ، قَالَ: حَدَّثَنَا عَفَّانُ، قَالَ: حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ ثَابِتٍ، عَنْ أَنَسِ بْنِ مَالِكٍ، أَنَّ رَسُولَ اللهِ صلى الله عليه وسلم، كَانَ إِذَا أَوَى إِلَى فِرَاشِهِ، قَالَ: الْحَمْدُ لِلَّهِ الَّذِي أَطْعَمَنَا وَسَقَانَا وَكَفَانَا وَآوَانَا، فَكَمْ مِمَّنْ لا كَافِيَ لَهُ وَلا مُؤْوِي.
Anas bin Maalik Radiyallahu'Anhu says:
"When Rasulullah Sallallahu 'Alayhi Wasallam 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!'
Full reference and source
English : Book 38, Hadith 246 Arabic : Book 39, Hadith 259
View source on Sunnah.com (opens in a new tab)