Mishkat al-Masabih 1187
وَعَنْ عَطَاءٍ قَالَ: كَانَ ابْنُ عُمَرَ إِذَا صَلَّى الْجُمُعَةَ بِمَكَّةَ تَقَدَّمَ فَصَلَّى رَكْعَتَيْنِ ثُمَّ يَتَقَدَّمُ فَيُصَلِّي أَرْبَعًا وَإِذَا كَانَ بِالْمَدِينَةِ صَلَّى الْجُمُعَةَ ثُمَّ رَجَعَ إِلَى بَيْتِهِ فَصَلَّى رَكْعَتَيْنِ وَلَمْ يُصَلِّ فِي الْمَسْجِدِ فَقِيلَ لَهُ. فَقَالَ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَفْعَله) رَوَاهُ أَبُو دَاوُدَ وَفِي رِوَايَةِ التِّرْمِذِيِّ قَالَ: (رَأَيْتُ ابْنَ عُمَرَ صَلَّى بَعْدَ الْجُمُعَةِ رَكْعَتَيْنِ ثمَّ صلى بعد ذَلِك أَرْبعا)
From ʿAtaʾ, who said: When Ibn ʿUmar prayed Jumuʿah in Makkah, he would move forward and pray two rakʿahs, then move forward and pray four. When he was in Madinah, he would pray Jumuʿah, then return to his house and pray two rakʿahs, and he would not pray in the mosque. That was put to him, and he said: "The Messenger of Allah ﷺ used to do it." Reported by Abu Dawud. In the narration of at-Tirmidhi he said: I saw Ibn ʿUmar pray two rakʿahs after Jumuʿah, then after that pray four.