حَدَّثَنَا أَبُو خَيْثَمَةَ ، حَدَّثَنَا عَبْدُ الصَّمَدِ ، قَالَ : حَدَّثَنِي أَبِي ، حَدَّثَنَا حُسَيْنٌ ، عَنِ ابْنِ بُرَيْدَةَ ، قَالَ : حَدَّثَنِي ابْنُ عُمَرَ ، أَنَّ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ كَانَ يَقُولُ إِذَا ثَوَى مَضْجَعَهُ : الْحَمْدُ لِلهِ الَّذِي كَفَانِي وَآوَانِي وَأَطْعَمَنِي وَسَقَانِي ، وَالَّذِي مَنَّ عَلَيَّ وَأَفْضَلَ ، وَالَّذِي أَعْطَانِي وَأَجْزَلَ . الْحَمْدُ لِلهِ عَلَى كُلِّ حَالٍ ، الْحَمْدُ لِلهِ رَبِّ كُلِّ شَيْءٍ ، وَمَلِيكِ كُلِّ شَيْءٍ ، وَإِلَهِ كُلِّ شَيْءٍ ، وَلَكَ كُلُّ شَيْءٍ ، أَعُوذُ بِكَ مِنَ النَّارِ .
It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that when the Messenger of Allah (peace and blessings be upon him) came to his bed to sleep, he used to supplicate: 'Alhamdu lillahil-ladhi kafani wa awani wa at'amani wa saqani, wal-ladhi manna 'alayya wa afdal, wal-ladhi a'tani wa ajzal, alhamdu lillahi 'ala kulli hal, alhamdu lillahi rabbi kulli shay'in, wa maliki kulli shay'in, wa ilahi kulli shay'in, wa laka kullu shay'in, a'udhu bika minan-nar' (All praise is for Allah, who sufficed me, gave me shelter, fed me and gave me drink; the One who bestowed favour upon me and was generous, and who gave to me and gave abundantly. All praise is for Allah in every state. All praise is for Allah, the Lord of everything, the true Sovereign of everything and the true God of everything; and, O Allah, everything belongs to You. I seek refuge with You from the punishment of the Fire).