All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
The Prophet informed us that repentance will continue to be accepted by Allaah until the sun rises from the west. This is mentioned in the Quran in the verse in which Allaah Says (what means): {The Day that some of the signs of your Lord will come no soul will benefit from its faith as long as it had not believed before or had earned through its faith some good. Say, “Wait. Indeed, we [also] are waiting.”}[Quran 6:158] The meaning of the verse is that the belief of a non-Muslim after the sun had risen from the west is useless as he had not believed before that time, and a believer who starts to do good deeds after the sun had risen from the west will not benefit, because he did not perform good deeds before that time.
Therefore, you should know that the prayers that will not be accepted after the sun rises from the west are those performed by a person who was not praying before that time. However, the one who used to pray before that is not included in the above verse and the Prophetic narration.
As regards what the Muslims will recite when the Quran will be lifted, they will not recite anything from the Quran as the Prophet informed us that it will be lifted and that no verse will remain on the earth or in the hearts of the people, and that at that time the people will not know anything about the prayer and fasting and other religious obligations. They would only know the expression 'Laa ilaaha illa Allaah' [None has the right to be worshipped except Allaah]. They would say 'we heard our fathers saying this expression'.
As regards what will happen to the Muslims when the sun rises from the west, then the answer is that they will remain worshipping Allaah until Allaah sends a cold wind from the direction of Greater Syria. This wind will take the soul of all the believers, and it is only the evil and wicked people who would remain when the Hour takes place, as we were informed by the Prophet .
This wind will come out after all the following signs have taken place: the sun would have risen from the west, the descent of ‘Eesa (Jesus) the coming of the Dajjaal (anti Christ), the coming out of the beast and the destruction of Gog and Magog. Therefore, the rising of the sun from the west is close to the Hour as asserted by the scholars .