Remembrance 2 from Chapter 63
What to say when unable to sleep

Allāhumma Rabba-s-samāwāti-s-sab‘i wa mā aẓallat, wa Rabba-l-arḍīna wa mā aqallat, wa Rabba-sh-shayāṭīni wa mā aḍallat, kun lī jāran min sharri khalqika kullihim jamī‘an an yafruṭa ‘alayya aḥadun minhum aw an yabghī ‘alayy, ‘Azza jāruk, wa jalla thanā‘uk, wa lā ilāha ghayruk, lā ilāha illā Ant.
We relate in the book of at-Tirmidhī with a weak isnād—at-Tirmidhī considered it weak—from Buraydah
, who narrated that Khālid ibn Wālid complained to the Messenger of Allah
, saying: “Messenger of Allah, I did not sleep last night because of insomnia.” So the Prophet
told him: “When you retire to bed, say: O Allah, Lord of the Seven Heavens and all that they give shade to, Lord of the Earths and all that they support, Lord of the shayṭāns (demons) and all those whom they lead astray, be a Protector to me from all Your Creation, to prevent them from transgressing against me or oppressing me. Those whom You protect are mighty, glorious is Your praise, and there is no God other than You. There is no god but You.” [3].