‘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.”
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.”
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 said that when the Prophet got up at night he began his prayer by saying, “O God, the Lord of Gabriel, Michael and Israfil, the Creator of the heavens and the earth, who knowest the unseen and the seen, Thou decidest among Thy servants concerning their differences. Guide me on account of different opinions regarding the truth by Thy permission; verily Thou guidest whom Thou wilt to a straight path.”