The Messenger of Allah ﷺ would not pray after the Friday prayer until he had departed, then he would pray two units.
أخبرنا قتيبة عن مالك عن نافع
أن رسول الله ﷺ كان لا يصلي بعد الجمعة حتى ينصرف فيصلي ركعتين
[sahih] Previously mentioned, no. 874, and it is in Kubra, no. 1745.