Whoever Wakes Up During the Night

مَن تَعارَّ مِنَ اللَّيْلِ، فَقالَ: لا إلَهَ إلَّا اللَّهُ وحْدَهُ لا شَرِيكَ له، له المُلْكُ وله الحَمْدُ، وهو علَى كُلِّ شيءٍ قَديرٌ، الحَمْدُ لِلَّهِ، وسُبْحَانَ اللَّهِ، ولَا إلَهَ إلَّا اللَّهُ، واللَّهُ أَكْبَرُ، ولَا حَوْلَ ولَا قُوَّةَ إلَّا باللَّهِ، ثُمَّ قالَ: اللَّهُمَّ اغْفِرْ لِي، أوْ دَعَا؛ اسْتُجِيبَ له، فإنْ تَوَضَّأَ وصَلَّى قُبِلَتْ صَلَاتُهُ.

Whoever wakes up at night and says: 'None has the right to be worshipped except Allah, alone, without partner; His is the dominion and His is the praise, and He is able to do all things. Praise be to Allah; Glory be to Allah; none has the right to be worshipped except Allah; Allah is the Greatest; and there is no power and no strength except by Allah' — then says: 'O Allah, forgive me,' or makes supplication, his supplication will be answered. And if he performs ablution and then prays, his prayer will be accepted.

Reference: البخاري