I asked the Messenger of Allah ﷺ the (implication of the) words of Allah, the Exalted: The sun glides to its appointed resting place. He replied: Its appointed resting place is under the Throne.
سَأَلْتُ رَسُولَ اللَّهِ ﷺ عَنْ قَوْلِ اللَّهِ تَعَالَى { وَالشَّمْسُ تَجْرِي لِمُسْتَقَرٍّ لَهَا} قَالَ مُسْتَقَرُّهَا تَحْتَ الْعَرْشِ