The Prophet ﷺ said: Do not prevent anyone from going round this House (the Ka'bah) and from praying any moment he desires by day or by night. The narrator Fadl (ibn Ya'qub) said: The Messenger of Allah ﷺ said: Banu Abdu Munaf, do not stop anyone. (Using translation from Abū Dāʾūd 1894)
النَّبِيَّ ﷺ أَنَّهُ قَالَ يَا بَنِي عَبْدِ مَنَافٍ لَا تَمْنَعُوا أَحَدًا طَافَ بِهَذَا الْبَيْتِ وَصَلَّى أِيَّ سَاعَةٍ شَاءَ مِنْ لَيْلٍ أَوْ نَهَارٍ