On what to say when going to sleep

Riyad as-Salihin (The Meadows of the Righteous)

by Imam Nawawi

249. Chapter: On what to say when going to sleep

Allah Almighty says, "In the creation of the heavens and the earth, and the alternation of night and day, there are signs for people of intelligence: those who remember Allah, standing, sitting, and lying on their sides, and reflect on the creation of the heavens and the earth." (3:190-191)

1458. Hudhayfa and Abu Dharr reported that when the Messenger of Allah, may Allah bless him and grant him peace, went to bed, he said, "In Your name, O Allah, I live and die." [al-Bukhari]

1459. 'Ali stated that the Messenger of Allah, may Allah bless him and grant him peace, said to him and Fatima, "When you retire to your bed, - or when you take yourselves to bed - say 'Allah is greater' thirty-three times, glorify Allah thirty-three times, praise Him thirty-three times." One variant has, "Glorify Allah thirty-four times," and one variant, "Say 'Allah is greater' thirty-four times." [Agreed upon]

1460. Abu Hurayra reported that the Messenger of Allah, may Allah bless him and grant him peace, said, "When one of you retires to bed, he should wipe over his bed with the inside of his wrapper. He does not know what might have been on it after him. Then he should say, 'By Your name, my Lord, I have lain on my side and I have raised it up by You. If You keep my soul, show mercy to it. If You release it, then protect it in the way You protect Your virtuous slaves.'" [Agreed upon]

1461. 'A'isha reported that when the Messenger of Allah, may Allah bless him and grant him peace, went to bed, he would spit into his hands and recite the two suras of refuge and wipe his body with them." [Agreed upon]

In one of their variants, "When the Prophet, may Allah bless him and grant him peace, retired to bed every night he would put his palms together and then spit into them and recite into them, 'Say: He is Allah, One,' 'Say: I seek refuge with the Lord of daybreak,' and 'Say: I seek refuge with the Lord of people,' and then wipe as much of his body as he could with them. He would begin with his head and face and then the rest of his body. He would do that three times." [Agreed upon]

1462. Al-Bara' ibn 'Azib said, "The Messenger of Allah, may Allah bless him and grant him peace, said to me, 'When you go to your bed, do wudu' as you do for the prayer and then lie down on your right side and said, 'O Allah, I have surrendered my soul to You and I have entrusted my affair to You and I have sought refuge in You out of desire for You and fear of You. There is no shelter nor place of safety from You except with You. I have believed in Your Book which You sent down and Your Prophet whom You sent.' Then if you die, you will die in the natural harmonious form of man. Make them the last thing that you say." [Agreed upon]

1463. Anas reported that when the Prophet, may Allah bless him and grant him peace, retired to his bed, he said, "Praise be to Allah who has fed us and given us to drink and given us enough and given us a refuge. How many people there are who have no one to give them enough nor any refuge!" [Muslim]

1464. Hudhayfa reported that when the Messenger of Allah, may Allah bless him and grant him peace, wanted to lie down, he would place his right hand under his cheek and then say, 'O Allah, protect me from Your punishment on the Day when You raise up Your slaves.'" [at-Tirmidhi]

Abu Dawud related it from Hafsa.