What one Says in the Morning, the Evening and when going to Sleep - Section 1 Mishkat al-Masabih 2386

Arabic hadith text
وَعَنْ أَنَسٍ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ إِذَا أَوَى إِلَى فِرَاشِهِ قَالَ: «الحمدُ للَّهِ الَّذِي أطعمنَا وَسَقَانَا وكفانا وَآوَانَا فَكَمْ مِمَّنْ لَا كَافِيَ لَهُ وَلَا مؤوي» . رَوَاهُ مُسلم
Translation

Anas told that when God’s messenger went to his bed he said, “Praise be to God who has fed us, given us drink, satisfied us and given us refuge. Many there are who have no one to provide sufficiency for them, or give them refuge.” Muslim transmitted it.