Combining a warm bath with a short prayer or story creates a predictable transition to sleep, reducing the anxiety of separation.
Islamic tradition offers several specific supplications intended to calm the heart and provide a sense of divine protection.
The Prophet Muhammad (s.a.s.) recommended this prayer for those startled in their sleep: