Mishkat al-Masabih
Mishkat al-Masabih 1187
وَعَنْ عَطَاءٍ قَالَ: كَانَ ابْنُ عُمَرَ إِذَا صَلَّى الْجُمُعَةَ بِمَكَّةَ تَقَدَّمَ فَصَلَّى رَكْعَتَيْنِ ثُمَّ يَتَقَدَّمُ فَيُصَلِّي أَرْبَعًا وَإِذَا كَانَ بِالْمَدِينَةِ صَلَّى الْجُمُعَةَ ثُمَّ رَجَعَ إِلَى بَيْتِهِ فَصَلَّى رَكْعَتَيْنِ وَلَمْ يُصَلِّ فِي الْمَسْجِدِ فَقِيلَ لَهُ. فَقَالَ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَفْعَله) رَوَاهُ أَبُو دَاوُدَ وَفِي رِوَايَةِ التِّرْمِذِيِّ قَالَ: (رَأَيْتُ ابْنَ عُمَرَ صَلَّى بَعْدَ الْجُمُعَةِ رَكْعَتَيْنِ ثمَّ صلى بعد ذَلِك أَرْبعا)
Unreviewed translation. All hadiths in this collection are available in five languages. Titles and introductions may remain in Arabic.
Ata said: When Ibn Umar prayed the Friday prayer in Mecca, he would move forward and pray two rakahs, then move forward and pray four. When he was in Medina, he would pray the Friday prayer, return to his house, and pray two rakahs; he did not pray in the mosque. When this was mentioned to him, he said: The Messenger of God, peace and blessings be upon him, used to do that. Abu Dawud transmitted it. In a version of al-Tirmidhi, he said: I saw Ibn Umar pray two rakahs after the Friday prayer, then pray four after that.