Bulugh al-Maram 167
وَعَنْ جُبَيْرِ بْنِ مُطْعِمٍ - رضي الله عنه - قَالَ: قَالَ رَسُولُ اللَّهِ - صلى الله عليه وسلم: «يَا بَنِي عَبْدِ مَنَافٍ, لَا تَمْنَعُوا أَحَدًا طَافَ بِهَذَا الْبَيْتِ وَصَلَّى أَيَّةَ سَاعَةٍ شَاءَ مِنْ لَيْلٍ أَ ونَهَارٍ». رَوَاهُ الْخَمْسَةُ, وَصَحَّحَهُ التِّرْمِذِيُّ, وَابْنُ حِبَّانَ.
From Jubayr ibn Mutʿim, may Allah be pleased with him, who said: The Messenger of Allah ﷺ said: "O Banu ʿAbd Manaf, do not prevent anyone from circling this House and praying at whatever hour he wishes, by night or by day." Narrated by the Five, and at-Tirmidhi and Ibn Hibban graded it sahih.