the First—nothing existed before You; You are the Last—nothing will remain after You; You are the Manifest—nothing is above You; and You are the Hidden—nothing is beneath You. Settle our debts for us and spare us from poverty.” Recorded by Muslim.
Al-Barāʾ ibn ʿĀzib (may Allah be pleased with him) reported: The Messenger of Allah, peace and blessings be upon him, said to me, “When you retire to your bed, perform ablution as you do for prayer, then lie down on your right side and say:
Allāhumma aslamtu nafsī ilayk, wa wajjahtu wajhī ilayk, wa fawwaḍtu amrī ilayk, wa aljaʾtu ẓahrī ilayk raghbatan wa rahbatan ilayk; lā maljaʾa wa lā manjā minka illā ilayk; āmantu bikitābik alladhī anzalt, wa binabiyyik alladhī arsalt (O Allah, I surrender my soul to You, I turn my face toward You, I consign my affair to You, and I lean my back upon You in hope and fear of You. There is no refuge and no escape from You except with You. I believe in the Book You have sent down and in the Prophet You have sent). If you die that night, you will die upon the innate sound nature (fitrah). Let these be the last words you utter.” Agreed upon.
What one says upon waking in the night
ʿUbādah ibn aṣ-Ṣāmit (may Allah be pleased with him) reported that the Prophet, peace and blessings be upon him, said: “Whoever awakens during the night and says: Lā ilāha illā Allah waḥdahu lā sharīka lah, lahu al-mulk wa lahu al-ḥamd wa huwa ʿalā kulli shayʾin qadīr; al-ḥamdu lillāh; subḥāna Allah; lā ilāha illā Allah; Allahu akbar; wa lā ḥawla wa lā quwwata illā billāh al-ʿAliyy al-ʿAẓīm (There is no god but Allah alone, without partner; His is the dominion and to Him belongs all praise, and He is over all things capable. All praise is for Allah. Transcendent is Allah. There is no god but Allah. Allah is the Greatest. There is no might nor power except with Allah, the Most High, the Magnificent), then