Authentic Supplication Number 031.

Upon retiring to his bed (52) the Prophet  would say: Al-hamdu lil-lahi 'allathee 'at`amana wa saqana, wa kafana, wa awana, fakam miman la kafiya lahu wa la mu'wee (53).

Footnotes.
(52) Although the word bed is used it is not meant to convey the meaning of a mattress. The Prophet  used to sleep on a simple mat, not a mattress.

(53) All praise be to Allah Who has fed us, offered us drink, sufficed us, and sheltered us, for how many are there that have no one to suffice them, nor to shelter them. [38]

Reporters.
Reported by Muslim, and Al-Albani included it in The Authentic of Good Sayings as #31.

Related Hadith(s)