The Messenger of Allah (ﷺ) would not pray after jumu'ah until he had left, then he would…

Sunan an-Nasa'i Book 14 Hadith 1438

Sunan an-Nasa'i

The Book of Jumu'ah (Friday Prayer) 14:1438

It was narrated from Ibn 'Umar that:

The Messenger of Allah (ﷺ) would not pray after jumu'ah until he had left, then he would pray two rak'ahs. (SAhih)