The Messenger of Allah (ﷺ) would not pray after Jumu'ah until he had left, then he would pray two rak'ahs. (Sahih)
Sunan an-Nasa'i Book 14, Hadith 64