Dua before going to Sleep
Quoted from 'Uddat al-Da'i: Imam Ali, Amir al-Mu'minin (a.s.), said that when you intend to go to sleep, put your right hand under your right cheek and say
Open Dua before going to Sleep in Shia Companion
Merits
Quoted from 'Uddat al-Da'i: Imam Ali, Amir al-Mu'minin (a.s.), said that when you intend to go to sleep, put your right hand under your right cheek and say this. If said before going to sleep, Allah will guard you against thieves and against your house collapsing, and the angels will implore Allah to forgive you.
Text and Translation
بِسْمِ اللّٰهِ وَضَعْتُ جَنْبِیْ لِلّٰهِ عَلٰی مِلَّةِ اِبْرَاهِیْمَ وَ دِیْنِ مُحَمَّدٍ صَلَّی اللّٰهُ عَلَیْهِ وَ اٰلِهٖ وَ وِلَایَةِ مَنِ افْتَرَضَ اللّٰهُ طَاعَتَهٗ
BISMIL LAAHE, WAZA'TO JANBEE LILLAAHE A'LAA MILLATE IBRAAHEEMA WA DEENE MOHAMMADIN SALLAL LAAHO A'LAYHE WA AALEHI, WA WELAAYATE MANIF TARAZAL LAAHO TAA-A'TAHU
In the Name of Allah. I put my side for Allah, following the faith of Ibrahim, the religion of Muhammad, blessings of Allah be upon him and his Household, and showing loyalty to those the obedience to whom has been made incumbent upon us by Allah.
مَا شَاءَ اللّٰهُ کَانَ وَ مَا لَمْ یَشَأْ لَمْ یَکُنْ
MAA SHAA-AL LAAHO KAANA WA MAA LAM YASHAA LAM YAKUN
Only what Allah wills shall come to pass, but what Allah does not will shall never come to pass.