كِتَاب الْجُمُعَةِ عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ
4  
The Book on the Day of Friday
(15)
Chapter: [What Has Been Related] About Two Rak'ah When One Arrives While the Imam Is Delivering The Khubah
(15)
باب مَا جَاءَ فِي الرَّكْعَتَيْنِ إِذَا جَاءَ الرَّجُلُ وَالإِمَامُ يَخْطُبُ
Jami` at-Tirmidhi 510
Jabir bin Abdullah narrated:
"The Prophet was delivering a Khutbah on Friday when a man came. The Prophet said: 'Have you prayed?' He said no. So he said: 'Then stand and pray.'" Abu Eisa said: This Hadith is Hasan Sahih [It is the most correct thing about this topic.]
حَدَّثَنَا قُتَيْبَةُ، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ عَمْرِو بْنِ دِينَارٍ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ، قَالَ بَيْنَا النَّبِيُّ صلى الله عليه وسلم يَخْطُبُ يَوْمَ الْجُمُعَةِ إِذْ جَاءَ رَجُلٌ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ أَصَلَّيْتَ ‏"‏ ‏.‏ قَالَ لاَ ‏.‏ قَالَ ‏"‏ قُمْ فَارْكَعْ ‏"‏ ‏.‏ قَالَ أَبُو عِيسَى وَهَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ أَصَحُّ شَيْءٍ فِي هَذَا الْبَابِ ‏.‏
Reference : Jami` at-Tirmidhi 510
In-book reference : Book 4, Hadith 23
English translation : Vol. 1, Book 4, Hadith 510