Ibn 'Umar (May Allah be pleased with them) reported:
The Prophet (ﷺ) would not perform any Salat (in the mosque) after the Friday prayer till he had returned to his house. He would then perform two Rak'ah there.[Muslim].
App reference: Book 9, Hadith 137
Arabic/English book reference: Book 9, Hadith 1127