Hadithcore
Sahih Muslim, 159 b
sahih

It is narrated on the authority of Abu Dharr that the Messenger of Allah (ﷺ) one day said:

Do you know where the sun goes? The remaining part of the hadith is the same.

وَحَدَّثَنِي عَبْدُ الْحَمِيدِ بْنُ بَيَانٍ الْوَاسِطِيُّ، أَخْبَرَنَا خَالِدٌ، - يَعْنِي ابْنَ عَبْدِ اللَّهِ - عَنْ يُونُسَ، عَنْ إِبْرَاهِيمَ التَّيْمِيِّ، عَنْ أَبِيهِ، عَنْ أَبِي ذَرٍّ، أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ يَوْمًا ‏

‏ أَتَدْرُونَ أَيْنَ تَذْهَبُ هَذِهِ الشَّمْسُ ‏

‏ بِمِثْلِ مَعْنَى حَدِيثِ ابْنِ عُلَيَّةَ ‏.‏

References2 variants
In-Book Reference
Book 1, Hadith 305
USC-MSA web (English) reference
Book 1, Hadith 298 (deprecated numbering scheme)