بِاسْمِكَ رَبِّي وَضَعْتُ جَنْبِي، وَبِكَ أَرْفَعُهُ، فَإِنْ أَمْسَكْتَ نَفْسِي فَارْحَمْهَا، وَإِنْ أَرْسَلْتَهَا فَاحْفَظْهَا بِمَا تَحْفَظُ بِهِ عِبَادَكَ الصَّالِحِينَ
What this dua means
You hand your soul to Allah as you sleep. Asking for mercy if you don't wake, and protection if you do.
When to read it
When you lie down in bed at night.
Its virtue
The Prophet ﷺ taught this as the nightly handover of the soul to its Lord. (Bukhari 6320)
getsalahtime.com