Language:
كتاب التوحيد
97  
Oneness, Uniqueness of Allah (Tawheed)
Sahih al-Bukhari 7424

Narrated Abu Dharr:

I entered the mosque while Allah's Messenger (ﷺ) was sitting there. When the sun had set, the Prophet (ﷺ) said, "O Abu Dharr! Do you know where this (sun) goes?" I said, "Allah and His Apostle know best." He said, "It goes and asks permission to prostrate, and it is allowed, and (one day) it, as if being ordered to return whence it came, then it will rise from the west." Then the Prophet (ﷺ) recited, "That: "And the sun runs on its fixed course (for a term decreed)," (36.38) as it is recited by `Abdullah.

حَدَّثَنَا يَحْيَى بْنُ جَعْفَرٍ، حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ ـ هُوَ التَّيْمِيُّ ـ عَنْ أَبِيهِ، عَنْ أَبِي ذَرٍّ، قَالَ دَخَلْتُ الْمَسْجِدَ وَرَسُولُ اللَّهِ صلى الله عليه وسلم جَالِسٌ، فَلَمَّا غَرَبَتِ الشَّمْسُ قَالَ ‏"‏ يَا أَبَا ذَرٍّ هَلْ تَدْرِي أَيْنَ تَذْهَبُ هَذِهِ ‏"‏‏.‏ قَالَ قُلْتُ اللَّهُ وَرَسُولُهُ أَعْلَمُ‏.‏ قَالَ ‏"‏ فَإِنَّهَا تَذْهَبُ تَسْتَأْذِنُ فِي السُّجُودِ فَيُؤْذَنُ لَهَا، وَكَأَنَّهَا قَدْ قِيلَ لَهَا ارْجِعِي مِنْ حَيْثُ جِئْتِ‏.‏ فَتَطْلُعُ مِنْ مَغْرِبِهَا ‏"‏‏.‏ ثُمَّ قَرَأَ ‏{‏ذَلِكَ مُسْتَقَرٌّ لَهَا‏}‏ فِي قِرَاءَةِ عَبْدِ اللَّهِ‏.‏
Reference : Sahih al-Bukhari 7424
In-book reference : Book 97, Hadith 52
USC-MSA web (English) reference : Vol. 9, Book 93, Hadith 520
  (deprecated numbering scheme)