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.”
‘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.”
‘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.”
Ibn ‘Abbas told how the Prophet said when he got up during the night to pray, “O God, to Thee be the praise; Thou art supreme over the heavens and the earth and their inhabitants. To Thee be the praise; Thou art the Light of the heavens and the earth and their inhabitants. To Thee be the praise; Thou art the King of the heavens and the earth and their inhabitants. To Thee be the praise; Thou art the Truth, Thy promise is truth, the meeting with Thee is true, Thy word is true, paradise is true, hell is true, the prophets are true, Muhammad is true, the last hour is true. O God, to Thee I submit, in Thee I believe upon Thee I trust, to Thee I repent, by Thy help I have disputed, and to Thee I have come for decision, so forgive me my former and my latter sins, my secret and my open sins, and what Thou knowest better than I. Thou art He who brings forward, and Thou art He who defers. There is no god but Thee, and there is no other god than Thee.”