Yahya related to me from Malik from Nafi from Ibn Umar that the Messenger of Allah ﷺ used to pray two rakas before dhuhr and two rakas after it, two rakas after maghrib, in his house, and two rakas after isha. He did not pray after jumua until he had left, and then he prayed two rakas.
أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ يُصَلِّي قَبْلَ الظُّهْرِ رَكْعَتَيْنِ وَبَعْدَهَا رَكْعَتَيْنِ وَبَعْدَ الْمَغْرِبِ رَكْعَتَيْنِ فِي بَيْتِهِ وَبَعْدَ صَلاَةِ الْعِشَاءِ رَكْعَتَيْنِ وَكَانَ لاَ يُصَلِّي بَعْدَ الْجُمُعَةِ حَتَّى يَنْصَرِفَ فَيَرْكَعَ رَكْعَتَيْنِ