Hadithcore
Mishkat al-Masabih, 1041

Abu Sa‘id al-Khudri reported God’s Messenger as saying, “No prayer is to be said after the morning prayer until the sun rises, or after the afternoon prayer until the sun sets.”. (Bukhari and Muslim.)

وَعَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا صَلَاةَ بَعْدَ الصُّبْحِ حَتَّى تَرْتَفِعَ الشَّمْسُ وَلَا صَلَاةَ بَعْدَ الْعَصْرِ حَتَّى تَغِيبَ الشَّمْسُ»

References1 variant
In-Book Reference
Book 4, Hadith 459