Sahih al-Bukhari 931
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنْ عَمْرٍو، سَمِعَ جَابِرًا، قَالَ دَخَلَ رَجُلٌ يَوْمَ الْجُمُعَةِ وَالنَّبِيُّ صلى الله عليه وسلم يَخْطُبُ فَقَالَ أَصَلَّيْتَ ". قَالَ لاَ. قَالَ " فَصَلِّ رَكْعَتَيْنِ "."
Narrated Jabir:
A man entered the Mosque while the Prophet (ﷺ) was delivering the Khutba. The Prophet (ﷺ) said to him, "Have you prayed?" The man replied in the negative. The Prophet (ﷺ) said, "Pray two rak`at."
Full reference and source
Sahih al-Bukhari 931 In-book : Book 11, Hadith 55 USC-MSA web (English) : Vol. 2, Book 13, Hadith 53 (deprecated)
View source on Sunnah.com (opens in a new tab)