Jami` at-Tirmidhi 3396
Anas bin Malik (ra) narrated that :
when he went to his bed, the Messenger of Allah (ﷺ) used to say: “All praise is due to Allah, who has fed us and given us to drink, and has sufficed and granted us refuge, and how many are they who have none to suffice them and none to grant them refuge (Al-ḥamdulillāhi alladhi aṭ`amanā wa saqānā wa kafānā wa āwānā, wakam mimman lā kāfiya lahu wa lā mu'wiy).”
حَدَّثَنَا إِسْحَاقُ بْنُ مَنْصُورٍ، أَخْبَرَنَا عَفَّانُ بْنُ مُسْلِمٍ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ ثَابِتٍ، عَنْ أَنَسِ بْنِ مَالِكٍ، رضى الله عنه أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ إِذَا أَوَى إِلَى فِرَاشِهِ قَالَ ‏
"‏ الْحَمْدُ لِلَّهِ الَّذِي أَطْعَمَنَا وَسَقَانَا وَكَفَانَا وَآوَانَا وَكَمْ مِمَّنْ لاَ كَافِيَ لَهُ وَلاَ مُؤْوِيَ ‏"‏ ‏.‏ قَالَ هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ غَرِيبٌ ‏.‏