The Book of Faith (Kitab Al-Iman)
Muslim :: Book 1 : Hadith 298
It is narrated on the authority of Abu Dharr that the Apostle of Allah (may peace be upon him) one day said: Do you know where the sun goes? The remaining part of the hadith is the same.