Bulugh al-Maram 163
وَعَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ - رضي الله عنه - قَالَ: سَمِعْتَ رَسُولَ اللَّهِ - صلى الله عليه وسلم - يَقُولُ: «لَا صَلَاةَ بَعْدَ الصُّبْحِ حَتَّى تَطْلُعَ الشَّمْسُ، وَلَا صَلَاةَ بَعْدَ الْعَصْرِ حَتَّى تَغِيبَ الشَّمْسُ». مُتَّفَقٌ عَلَيْهِ. وَلَفْظُ مُسْلِمٍ: «لَا صَلَاةَ بَعْدَ صَلَاةِ الْفَجْرِ».
From Abu Saʿid al-Khudri, may Allah be pleased with him, who said: I heard the Messenger of Allah ﷺ say: "There is no prayer after Subh until the sun rises, and no prayer after ʿAsr until the sun sets." Agreed upon. And the wording of Muslim is: "There is no prayer after the Fajr prayer."