We relate from Ibn as-Sunni from Walid ibn Walid (RA) who said: “Messenger of Allah, I suffer from loneliness. He (SAW) said “When you go to bed, say “I seek protection in the perfect words of Allah from His wrath and His punishment, the evil of His servants, and the suggestions of the shaytans and from them appearing to me, for then it will not harm you ( or “it will not approach you”).
“A’udhu bi-kalimati-llahi-t-tammati min ghadabihi wa iqabihi wa sharri ibadih, wa min hamazati-sh-shayatin, wa an yahdurun.”
we relate in Ibn as Sunni from Al- Bara ibn Azib (RA) that a man came to the Messenger of Allah (SAW) and complained of loneliness. He (Saw) said ” Make sure you say in abduance: Peerless is the King, the Holy Lord of the angels and the Spirit (Ruh). You have made the heavens and the earth majestic, the Jabarut (Supraformal Realm). The man said this and the loneliness disappeared.”
“Subhana-l-Maliki-l-Quddus, Rabbi-l-malaikati wa-r-ruh, jallalta-s-samawati wa-l-arda bi-l-izzati wa -l- jabarut.”