كتاب التفسير
65
Prophetic Commentary on the Qur'an (Tafseer of the Prophet (pbuh))
(2)
The Statement of Allah the Exalted: "...And glorify the praises of your Lord, before the rising of the sun and before (its) setting (i.e., the Fajr, Ẓuhr and 'Aṣr prayers) ." (V.50:39)
(2)
Sahih al-Bukhari 4851

Narrated Jarir bin `Abdullah:

We were in the company of the Prophet (ﷺ) on a fourteenth night (of the lunar month), and he looked at the (full) moon and said, "You will see your Lord as you see this moon, and you will have no trouble in looking at Him. So, whoever can, should not miss the offering of prayers before sunrise (Fajr prayer) and before sunset (`Asr prayer)." Then the Prophet (ﷺ) recited: 'And celebrate the praises of your Lord before the rising of the sun and before (its) setting.' (50.39)

حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، عَنْ جَرِيرٍ، عَنْ إِسْمَاعِيلَ، عَنْ قَيْسِ بْنِ أَبِي حَازِمٍ، عَنْ جَرِيرِ بْنِ عَبْدِ اللَّهِ، قَالَ كُنَّا جُلُوسًا لَيْلَةً مَعَ النَّبِيِّ صلى الله عليه وسلم فَنَظَرَ إِلَى الْقَمَرِ لَيْلَةَ أَرْبَعَ عَشْرَةَ فَقَالَ ‏"‏ إِنَّكُمْ سَتَرَوْنَ رَبَّكُمْ كَمَا تَرَوْنَ هَذَا، لاَ تُضَامُونَ فِي رُؤْيَتِهِ، فَإِنِ اسْتَطَعْتُمْ أَنْ لاَ تُغْلَبُوا عَلَى صَلاَةٍ قَبْلَ طُلُوعِ الشَّمْسِ وَقَبْلَ غُرُوبِهَا فَافْعَلُوا ‏"‏‏.‏ ثُمَّ قَرَأَ ‏{‏وَسَبِّحْ بِحَمْدِ رَبِّكَ قَبْلَ طُلُوعِ الشَّمْسِ وَقَبْلَ الْغُرُوبِ‏}
Reference : Sahih al-Bukhari 4851
In-book reference : Book 65, Hadith 372
USC-MSA web (English) reference : Vol. 6, Book 60, Hadith 374
  (deprecated numbering scheme)