Invocation for when you stir in the night:
"لَا إِلَهَ إِلَّا اللهُ الْوَاحِدُ اْقَهَّارُ، رَبُّ السَّمَاوَاتِ وَالْأَرْضِ وَمَا بَيْنَهُمَا الْعَزِيزُ الْغَفَّارُ".
112. Laa 'ilaaha 'illallaahul-Waahidul-Qahhaaru, Rabbus-samaawaati wal'ardhi wa maa baynahumal-'Azeezul-Ghaffaaru.
There is none worthy of worship but Allah , the One , the Victorious , Lord of the heavens and the earth and all that is between them, the All-Mighty, the All-Forgiving.
Reference: This is to be said if you turn over in bed during the night. Al-Hakim graded it authentic and Ath-Thahabi agreed 1/540. Also see An-Nasa'i, 'Amalul-Yawm wal-Laylah, and Ibn As-Sunni. See also Al-Albani, Sahihul-Jami' As-Saghir 4/ 213.
What to say if you are afraid to go to sleep or feel lonely and depressed
"أَعُوذُ بِكَلِمَاتِ اللهِ التَّامَّاتِ مِنْ غَضَبِهِ وَعِقَابِهِ، وَشَرِّ عِبَادِهِ، وَمِنْ هَمَزَاتِ الشَّيَاطِينِ وَأَنْ يَحْضُرُونِ".
113. 'A'oothu bikalimaatil-laahit-taammaati min ghadhabihi wa 'iqaabihi, wa sharri 'ibaadihi, wa min hamazaatish-shayaateeni wa 'an yahdhuroon.
I seek refuge in the Perfect Words of Allah from His anger and His punishment, from the evil of His slaves and from the taunts of devils and from their presence.
Reference: Abu Dawud 4/12. See also Al-Albani, Sahih At- Tirmithi 3/171
Invocations in times of worry or grief:
120. Allaahumma 'innee 'abduka, ibnu 'abdika, ibnu 'amatika, naasiyatee biyadika, maadhin fiyya hukmuka, 'adlun fiyya qadhaa'uka, 'as'aluka bikulli ismin huwa laka, sammayta bihi nafsaka, 'aw 'anzaltahu fee kitaabika, 'aw 'allamtahu 'ahadan min khalqika, 'awista'tharta bihi fee 'ilmil-ghaybi 'indaka, 'an taj'alal-Qur'aana rabee'a qalbee, wa noora sadree, wa jalaa'a huznee, wa thahaaba hammee .
O Allah, I am Your slave and the son of Your male slave and the son of your female slave . My forehead is in Your Hand (i.e. you have control over me) . Your Judgment upon me is assured and Your Decree concerning me is just . I ask You by every Name that You have named Yourself with , revealed in Your Book , taught any one of Your creation or kept unto Yourself in the knowledge of the unseen that is with You , to make the Qur'an the spring of my heart, and the light of my chest, the banisher of my sadness and the reliever of my distress.
Reference: Ahmad 1/391, and Al-Albani graded it authentic.
121. Allaahumma 'innee 'a'oothu bika minal-hammi walhazani, wal'ajzi walkasali, walbukhli waljubni, wa dhala'id-dayni wa ghalabatir-rijaal .
O Allah , I seek refuge in you from grief and sadness, from weakness and from laziness, from miserliness and from cowardice, from being overcome by debt and overpowered by men (i .e . others) .
Reference: Al-Bukhari 7/158. See also Al-Asqalani, Fathul-Bari 11/173.
Hope this helps you sister. :-)
Fortress of the Muslim