حَدَّثَنَا أَبُو بَكْرٍ ، ثنا يَحْيَى بْنُ عَيَّاشٍ الْقَطَّانُ ، ثنا أَبُو زَيْدٍ الْهَرَوِيُّ ، ثنا شُعْبَةُ ، عَنْ عَمْرِو بْنِ دِينَارٍ ، قَالَ : سَمِعْتُ جَابِرًا ، قَالَ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، أَوْ خَطَبَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، فَقَالَ : " إِذَا جَاءَ أَحَدُكُمْ وَالإِمَامُ يَخْطُبُ فَلْيُصَلِّ رَكْعَتَيْنِ " .
Sayyiduna Jabir (may Allah be pleased with him) narrates: The Noble Prophet (peace and blessings be upon him) said: (The narrator is in doubt, perhaps these are the words:) The Noble Prophet (peace and blessings be upon him) said while delivering the sermon: "When a person comes and the Imam is delivering the sermon at that time, then that person should perform two rak‘ahs."