(Imām Bukhārī narrates): Ali bin Abdullah narrated to us, he said: Sufyan narrated to us from Amr, and he heard from Hazrat Jabir (may Allah be pleased with him) that
a man entered on the day of Friday at the time when the Prophet ﷺ was delivering the sermon. He said to him: Have you prayed? He said: No. He said: Then stand up and pray.
حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنْ عَمْرٍو، سَمِعَ جَابِرًا، قَالَ
دَخَلَ رَجُلٌ يَوْمَ الجُمُعَةِ وَالنَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ يَخْطُبُ، فَقالَ: أَصَلَّيْتَ؟ قَالَ: لاَ، قَالَ: قُمْ فَصَلِّ رَكْعَتَيْنِ
Reference: Sahih Al Bukhari 931