We should:
1. Be in a state of purity:
“If you come to your bed, then perform Wudoo’.”
● {صحيح البخاري كتاب الأدعية ٦٣١١، صحيح مسلم كتاب ذكرى الأدعية التوبة ٢٧١٠}
2. Sleep on our right side:
“…. Then lie down on your right side.”
● {صحيح البخاري كتاب الأدعية ٦٣١١، صحيح مسلم كتاب ذكرى الأدعية التوبة ٢٧١٠}
3. Place the right hand under the right cheek:
“When he ﷺ went to sleep, he placed his right hand under his right cheek.”
● {صحيح البخاري كتاب الأدعية ٦٣١٤، صحيح مسلم كتاب ذكرى الأدعية التوبة ٥٠٤٥}
4. Dust the bed:
“When one of you goes to bed, let him dust the bed because he does not know what comes into it before or after him.”
● {صحيح البخاري كتاب الأدعية ٦٣٢٠، صحيح مسلم كتاب ذكرى الأدعية التوبة ٢٧١٤}
5. Recite Surat Al-Kāfirūn, from its benefits:
“It frees the person from Shirk.”
● (سنن أبي داود كتاب حسن الخلق ٥٠٥٥)
● {جامع الترمذي كتاب الأدعية ٣٤٠٣}
● [مسند أحمد ٢٣٨٠٧]
Adhkār Before Sleeping
قال رسول الله صلى الله عليه وسلم : من قرأ بالآيتين من آخر سورة البقرة في ليلة كفتاه.
The Messenger of Allāh ﷺ said: “Whoever recites the last two verses of Sūrah al-Baqarah at night, they will suffice him.”
● [رواه البخاري ومسلم]
Ibn al-Qayyim Raḥimahullāh said: “Suffice him for any evil that may harm him.”
● [الوابل الصيب ١٣٢]
‘Alī b. Abī Ṭālib RaḍiAllāhu-‘Anhu said: “I hold the opinion that no sane person can go to sleep before reciting the last three Āyāt of Sūrah al-Baqarah.”
● [الأذكار ٢٢٠]
‘Ā`ishah رضي الله عنها reported: “The Messenger of Allāh ﷺ would get ready for sleep, he would blow into his hands, recite the two chapters of refuge (Sūrah al-Falaq and Sūrah an-Nās), and he would wipe his hands over his body.”
● [صحيح البخاري ٥٩٦٠، ]
Sleeping In A State Of Purification
From Abu Hurairah that the Prophet [ﷺ] said:
﴿من بات طاهرا بات في شعاره ملك لا يستيقظ ساعة من الليل إلا قال الملك: اللهم اغفر لعبدك فلانا، فإنه بات طاهرا.﴾
❝Whoever sleeps while in a state of purification then an Angel sleeps in his garment, he does not wake up at any time during the night except that the Angel says: O Allaah forgive Your slave such and such since he went to sleep upon purification.❞
● [سلسلة اﻷحاديث الصحيحة ٢٥٣٩]