Translation
(9) Times of the Prayers
كتاب مواقيت الصلاة
(31) Chapter: One should not try to offer As-Salat (the prayers) just before sunset
(31) باب لاَ يَتَحَرَّى الصَّلاَةَ قَبْلَ غُرُوبِ الشَّمْسِ
Sahih al-Bukhari 586 

Narrated Abu Sa`id Al-Khudri:

I heard Allah's Messenger (ﷺ) saying, "There is no prayer after the morning prayer till the sun rises, and there is no prayer after the `Asr prayer till the sun sets."

حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ عَبْدِ اللَّهِ، قَالَ حَدَّثَنَا إِبْرَاهِيمُ بْنُ سَعْدٍ، عَنْ صَالِحٍ، عَنِ ابْنِ شِهَابٍ، قَالَ أَخْبَرَنِي عَطَاءُ بْنُ يَزِيدَ الْجُنْدَعِيُّ، أَنَّهُ سَمِعَ أَبَا سَعِيدٍ الْخُدْرِيَّ، يَقُولُ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏ "‏ لاَ صَلاَةَ بَعْدَ الصُّبْحِ حَتَّى تَرْتَفِعَ الشَّمْسُ، وَلاَ صَلاَةَ بَعْدَ الْعَصْرِ حَتَّى تَغِيبَ الشَّمْسُ ‏"‏‏.‏
Reference : Sahih al-Bukhari 586
In-book reference : Book 9, Hadith 61
USC-MSA web (English) reference : Vol. 1, Book 10, Hadith 560
  (deprecated numbering scheme)