O Allah!

I submit my soul to you,
I entrust all my affairs to You,
I turn my face towards you,
I depend upon You for Your Blessings
Both with hope and fear of You.

There is no fleeing,
There is no escape,
There is no refuge, but with you.

I believe in your divine book which You have revealed
And in Your Prophet whom You have sent.

hadith - dua before sleeping
Perform ablutions before bed, then lie down on your right side and recite this dua. The Prophet Muhammad (S.A.W.) said: "Whoever says this and dies in his sleep, has died in a state of the natural monotheism (Fitrah)." Al-Bukhari, 11/113, Muslim 4/2081.