حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ، حَدَّثَنَا حَمَّادٌ، عَنْ عَمْرٍو، - وَهُوَ ابْنُ دِينَارٍ - عَنْ جَابِرٍ، أَنَّ رَجُلاً، جَاءَ يَوْمَ الْجُمُعَةِ وَالنَّبِيُّ صلى الله عليه وسلم يَخْطُبُ فَقَالَ ‏"‏ أَصَلَّيْتَ يَا فُلاَنُ ‏"‏ ‏.‏ قَالَ لاَ ‏.‏ قَالَ ‏"‏ قُمْ فَارْكَعْ ‏"‏ ‏.‏
Translation
This tradition has also been transmitted through a different chain of narrators by Jabir b. 'Abd Allah. This version adds

He (the Prophet) turned to the people and said: When one of you comes (on Friday) while the imam is preaching, he should pray two rak'ahs and make them short.