The Messenger of Allah ﷺ used to pray two units before Dhuhr and two after it, two after Maghrib in his house, and two after the evening prayer. After the Friday prayer he would not pray until he had returned home, and then he would pray two units.
حدثني يحيى عن مالك عن نافع
أن رسول الله ﷺ كان يصلي قبل الظهر ركعتين وبعدها ركعتين وبعد المغرب ركعتين في بيته وبعد صلاة العشاء ركعتين وكان لا يصلي بعد الجمعة حتى ينصرف فيركع ركعتين