When the Messenger of Allah (May peace be upon him) went to his bed, he would say: Praise be to Allah 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. (Using translation from Abū Dāʾūd 5053)
كَانَ النَّبِيُّ ﷺ إِذَا أَوَى إِلَى فِرَاشِهِ قَالَ الْحَمْدُ لِلَّهِ الَّذِي أَطْعَمَنَا وَسَقَانَا وَكَفَانَا وَآوَانَا فَكَمْ مَنْ لَا كَافِيَ لَهُ وَلَا مُؤْوِيَ