Mu'adh b. Jabal reported God’s Messenger as saying, “If any Muslim goes to bed in a state of purity making mention of God, then is disturbed during the night and asks God for good, God will give it to him.”
‘A’isha told how God’s Messenger said when he awoke during the night, “There is no god but Thee. Glory be to Thee, O God, and praise be to Thee. I ask for Thy forgiveness of my sin, and I ask for Thy mercy. O God, increase me in knowledge, and do not let my heart swerve after Thou hast guided me. Grant me mercy from Thyself. Thou art indeed the munificent One.”
Shariq al-Hauzani told that he visited ‘A’isha and asked her what God’s Messenger said first when he rose during the night. Replying that he had asked her a question she had never been asked by anyone before, she said that when he rose during the night he said “God is most great” ten times, “Praise be to God” ten times, “Glory be to God, and praise be to him” ten times, “Glory be to the King most holy” ten times, he asked pardon from God ten times, said “There is no god but God” ten times, then said, “O God, I seek refuge in Thee from the distress of this world and from the distress of the day of resurrection” ten times, then he began the prayer.
Narrated ‘Ubada b. as-Samit reported God’s Messenger as saying, “If anyone is disturbed during the night and says, ‘There is no god but God alone who has no partner; to Him belongs the kingdom, to Him praise is due, and He is omnipotent; glory be to God; praise be to God; there is no god but God:
God is most great; there is no might and no power but in God,’ then says, ‘My Lord, forgive me’ (or he said, Then makes supplication), he will receive an answer; and if he performs ablution and prays, his prayer will be accepted.”