Abu Dharr, may Allah be pleased with him, narrated:
Allah's Messenger (may peace be upon him) one day asked: Do you know where the sun goes? They replied: Allah and His Messenger know best, He (the Holy Prophet) observed: Verily it (the sun) glides till it reaches its resting place under the Throne. Then it falls prostrate and remains there until it is asked: Rise up and go to the place whence you came, and it goes back and continues emerging out from its rising place and then glides till it reaches its place of rest under the Throne and falls prostrate and remains in that state until it is asked: Rise up and return to the place whence you came, and it returns and emerges out from its rising place and then it glides (in such a normal way) that the people do not discern anything (unusual in it) till it reaches its resting place under the Throne. Then it would be said to it: Rise up and emerge out from the place of your setting, and it will rise from the place of its setting. Allah's Messenger (may peace be upon him) asked: Do you know when it would happen? It would happen at the time when no good will it do to a person to believe then, if he believed not before, nor earned good (by performing deeds of righteousness) through his Faith
Allah's Messenger (may peace be upon him) one day asked: Do you know where the sun goes? They replied: Allah and His Messenger know best, He (the Holy Prophet) observed: Verily it (the sun) glides till it reaches its resting place under the Throne. Then it falls prostrate and remains there until it is asked: Rise up and go to the place whence you came, and it goes back and continues emerging out from its rising place and then glides till it reaches its place of rest under the Throne and falls prostrate and remains in that state until it is asked: Rise up and return to the place whence you came, and it returns and emerges out from its rising place and then it glides (in such a normal way) that the people do not discern anything (unusual in it) till it reaches its resting place under the Throne. Then it would be said to it: Rise up and emerge out from the place of your setting, and it will rise from the place of its setting. Allah's Messenger (may peace be upon him) asked: Do you know when it would happen? It would happen at the time when no good will it do to a person to believe then, if he believed not before, nor earned good (by performing deeds of righteousness) through his Faith