Jami` at-Tirmidhi, Book 47, Hadith 3534 (In-Book)

Narrated Abu Dharr: "I entered the Masjid when the sun had set, and the Prophet was sitting. He said: 'O Abu Dharr! Do you know where this goes?' I said: 'Allah and His Messenger know better.' He said: 'Indeed it goes to seek permission to prostrate, so it is permitted. And it is as if it has been said to it: "Rise from its setting place.' Then he recited: 'That is its fixed course.'" He said: "That is the recitation of 'Abdullah bin Mas'ud."

حَدَّثَنَا هَنَّادٌ، حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ التَّيْمِيِّ، عَنْ أَبِيهِ، عَنْ أَبِي ذَرٍّ، قَالَ دَخَلْتُ الْمَسْجِدَ حِينَ غَابَتِ الشَّمْسُ وَالنَّبِيُّ صلى الله عليه وسلم جَالِسٌ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ أَتَدْرِي يَا أَبَا ذَرٍّ أَيْنَ تَذْهَبُ هَذِهِ ‏"‏ ‏.‏ قَالَ قُلْتُ اللَّهُ وَرَسُولُهُ أَعْلَمُ ‏.‏ قَالَ ‏"‏ فَإِنَّهَا تَذْهَبُ فَتَسْتَأْذِنُ فِي السُّجُودِ فَيُؤْذَنُ لَهَا وَكَأَنَّهَا قَدْ قِيلَ لَهَا اطْلَعِي مِنْ حَيْثُ جِئْتِ فَتَطْلُعُ مِنْ مَغْرِبِهَا ‏"‏ ‏.‏ قَالَ ثُمَّ قَرَأَ ‏:‏ ‏(‏وذلكَ مُسْتَقَرٌّ لَهَا ‏)‏ قَالَ وَذَلِكَ قِرَاءَةُ عَبْدِ اللَّهِ ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏

sunnah.com