Mishkat al-Masabih 1051
وَعَن أبي ذَر قَالَ وَقَدْ صَعِدَ عَلَى دَرَجَةِ الْكَعْبَةِ: مَنْ عَرَفَنِي فَقَدْ عَرَفَنِي وَمَنْ لَمْ يَعْرِفْنِي فَأَنَا جُنْدُبٌ سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «لَا صَلَاةَ بَعْدَ الصُّبْحِ حَتَّى تَطْلُعَ الشَّمْسُ وَلَا بَعْدَ الْعَصْرِ حَتَّى تَغْرُبَ الشَّمْسُ إِلَّا بِمَكَّةَ إِلَّا بِمَكَّةَ إِلَّا بِمَكَّةَ» . رَوَاهُ أَحْمد ورزين
From Abu Dharr, who said, having climbed onto the step of the Kaʿbah: "Whoever knows me knows me, and whoever does not know me, I am Jundub. I heard the Messenger of Allah ﷺ say: 'There is no prayer after Subh until the sun rises, nor after ʿAsr until the sun sets, except in Makkah, except in Makkah, except in Makkah.'" Reported by Ahmad and Razin.