General Behavior (Kitab Al-Adab)

Dawud :: Book 41 : Hadith 5040

Narrated Abdullah ibn Umar:

When the Apostle of Allah (peace_be_upon_him) went to his bed, he would say: Praise be to Allah Who has given me sufficiency, has guarded me, given me food and drink, been most gracious to me, and given to me most lavishly. Praise be to Allah in every circumstance. O Allah! Lord and King of everything, God of everything, I seek refuge in Thee from Hell.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star