Dua before sleeping — forgiveness
اللّهُـمَّ أَسْلَمْـتُ نَفْسـي إِلَـيْك، وَفَوَّضْـتُ أَمْـري...
اللّهُـمَّ أَسْلَمْـتُ نَفْسـي إِلَـيْك، وَفَوَّضْـتُ أَمْـري إِلَـيْك، وَوَجَّـهْتُ وَجْهِـي إِلَـيْك، وَأَلْجَـأْتُ ظَهـري إِلَـيْك، رَغْبَـةً وَرَهْبَـةً إِلَـيْك، لا مَلْجَـأَ وَلا مَنْـجـا مِنْـكَ إِلاَّ إِلَـيْك، آمَنْـتُ بِكِتـابِكَ الَّذي أَنْزَلْت، وَبِنَبِيِّـكَ الَّذي أَرْسَلْت
Allahumma aslamtu nafsee ilayk, wafawwadtu amree ilayk, wawajjahtu wajhee ilayk, wa-alja-tu thahree ilayk, raghbatan warahbatan ilayk, la malja-a wala manja minka illa ilayk, amantu bikitabikal-lathee anzalt, wabinabiyyikal-lathee arsalt
Translation
O Allah, I submit myself to You, entrust my affairs to You, turn my face to You, and lay myself down depending upon You, hoping in You and fearing You. There is no refuge nor escape from You except to You. I believe in Your Book that You revealed and Your Prophet whom You sent.
When to recite
Recited before sleeping. The Prophet said: whoever says this and dies in his sleep has died upon the fitrah.
Source / Reference
Al-Bukhari 11/113, Muslim 4/2081