Sayyidina Jubayr ibn Mut’im narrated that the Prophet (SAW) said, “0 Children of Abd Manaf, do not disallow anyone who makes tawaf of this house to offer salah at whichever hour of night or day he likes.”
[Ahmed16737, Abu Dawud 1894, Nisai 584, Ibn e Majah 1254]