Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:5692[Chain 1] Abū Bakr Aḥmad b. al-Ḥasan al-Qāḍī > Ḥājib b. Aḥmad > Muḥammad b. Ḥammād > Abū Muʿāwiyah > al-Aʿmash [Chain 2] Abū Ṣāliḥ b. Abū Ṭāhir > Jaddī Yaḥyá b. Manṣūr > Aḥmad b. Salamah > Isḥāq b. Ibrāhīm > ʿĪsá b. Yūnus > al-Aʿmash > Abū Sufyān > Jābir b. ʿAbdullāh

[Machine] Sulayk al-Ghatafani came while the Messenger of Allah ﷺ was delivering the Friday sermon and he (Sulayk) said, "O Messenger of Allah ﷺ , did you pray the two Rak'ahs?" He (the Messenger of Allah) replied, "No." He (Sulayk) said, "Get up and pray two Rak'ahs, then make them brief." He also said, "When any one of you comes while the Imam is delivering the sermon, he should pray two Rak'ahs and make them brief." This is a wording attributed to 'Isa bin Yunus.  

البيهقي:٥٦٩٢أَخْبَرَنَا أَبُو بَكْرٍ أَحْمَدُ بْنُ الْحَسَنِ الْقَاضِي ثنا حَاجِبُ بْنُ أَحْمَدَ ثنا مُحَمَّدُ بْنُ حَمَّادٍ ثنا أَبُو مُعَاوِيَةَ عَنِ الْأَعْمَشِ ح وَأَخْبَرَنَا أَبُو صَالِحِ بْنُ أَبِي طَاهِرٍ أنبأ جَدِّي يَحْيَى بْنُ مَنْصُورٍ ثنا أَحْمَدُ بْنُ سَلَمَةَ ثنا إِسْحَاقُ بْنُ إِبْرَاهِيمَ أنبأ عِيسَى بْنُ يُونُسَ ثنا الْأَعْمَشُ عَنْ أَبِي سُفْيَانَ عَنْ جَابِرِ بْنِ عَبْدِ اللهِ قَالَ

جَاءَ سُلَيْكٌ الْغَطَفَانِيُّ وَرَسُولُ اللهِ ﷺ يَخْطُبُ يَوْمَ الْجُمُعَةِ فَقَالَ رَسُولُ اللهِ ﷺ أَصَلَّيْتَ الرَّكْعَتَيْنِ؟ فَقَالَ لَا قَالَ قُمْ فَصَلِّ رَكْعَتَيْنِ وَتَجَوَّزْ فِيهِمَا وَقَالَ إِذَا جَاءَ أَحَدُكُمْ وَالْإِمَامُ يَخْطُبُ فَلْيَرْكَعْ رَكْعَتَيْنِ وَلْيَتَجَوَّزْ فِيهِمَا لَفْظُ حَدِيثِ عِيسَى بْنِ يُونُسَ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ إِسْحَاقَ بْنِ إِبْرَاهِيمَ وَغَيْرِهِ

See similar narrations below:

Collected by Muslim, Ibn Ḥibbān
muslim:875gIsḥāq b. Ibrāhīm And ʿAlī b. Khashram > ʿĪsá b. Yūnus > Ibn Khashram > ʿĪsá > al-Aʿmash > Abū Sufyān > Jābir b. ʿAbdullāh

Sulaik Ghatafani came on Friday when the Messenger of Allah ﷺ was delivering the sermon. He (Sulaik) sat down. He (the Holy Prophet) said to him: 0 Sulaik I stand and observe two rak'ahs and make them short, and then said: When any one of you comes on Friday, while the Imam delivers the sermon, he should observe two rak'ahs and should make them short.  

مسلم:٨٧٥gوَحَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ وَعَلِيُّ بْنُ خَشْرَمٍ كِلاَهُمَا عَنْ عِيسَى بْنِ يُونُسَ قَالَ ابْنُ خَشْرَمٍ أَخْبَرَنَا عِيسَى عَنِ الأَعْمَشِ عَنْ أَبِي سُفْيَانَ عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ قَالَ

جَاءَ سُلَيْكٌ الْغَطَفَانِيُّ يَوْمَ الْجُمُعَةِ وَرَسُولُ اللَّهِ ﷺ يَخْطُبُ فَجَلَسَ فَقَالَ لَهُ يَا سُلَيْكُ قُمْ فَارْكَعْ رَكْعَتَيْنِ وَتَجَوَّزْ فِيهِمَا ثُمَّ قَالَ إِذَا جَاءَ أَحَدُكُمْ يَوْمَ الْجُمُعَةِ وَالإِمَامُ يَخْطُبُ فَلْيَرْكَعْ رَكْعَتَيْنِ وَلْيَتَجَوَّزْ فِيهِمَا  

ذِكْرُ الْبَيَانِ بِأَنَّ عَلَى الدَّاخِلِ الْمَسْجِدَ أَنْ يُصَلِّيَ رَكْعَتَيْنِ وَيَتَجَوَّزَ فِيهَا

ibnhibban:2502Muḥammad b. Isḥāq b. Saʿīd al-Saʿdī > ʿAlī b. Khashram > ʿĪsá > al-Aʿmash > Abū Sufyān > Jābir

Sulaik Ghatafani came on Friday when the Messenger of Allah ﷺ was delivering the sermon. He (Sulaik) sat down. He (the Holy Prophet) said to him: 0 Sulaik I stand and observe two rak'ahs and make them short, and then said: When any one of you comes on Friday, while the Imam delivers the sermon, he should observe two rak'ahs and should make them short. (Using translation from Muslim 875g)  

ابن حبّان:٢٥٠٢أَخْبَرَنَا مُحَمَّدُ بْنُ إِسْحَاقَ بْنِ سَعِيدٍ السَّعْدِيُّ قَالَ حَدَّثَنَا عَلِيُّ بْنُ خَشْرَمٍ قَالَ أَخْبَرَنَا عِيسَى عَنِ الْأَعْمَشِ عَنْ أَبِي سُفْيَانَ عَنْ جَابِرٍ قَالَ

جَاءَ سُلَيْكٌ الْغَطَفَانِيُّ يَوْمَ الْجُمُعَةِ وَرَسُولُ اللَّهِ ﷺ يَخْطُبُ فَجَلَسَ فَقَالَ لَهُ «يَا سُلَيْكُ قُمْ فَارْكَعْ رَكْعَتَيْنِ وَتَجَوَّزْ فِيهِمَا» ثُمَّ قَالَ «إِذَا جَاءَ أَحَدُكُمْ يَوْمَ الْجُمُعَةِ وَالْإِمَامُ يَخْطُبُ فَلْيَرْكَعْ رَكْعَتَيْنِ وَلْيَتَجَوَّزْ فِيهِمَا»