كتاب 19
19  
Book 19
(19)
Chapter 19
(19)
باب 19
Sahih al-Bukhari 1136
Narrated Jabir bin `Abdullah:
While delivering a sermon, Allah's Messenger (ﷺ) said, "If anyone of you comes while the Imam is delivering the sermon or has come out for it, he should offer a two rak`at prayer."
حَدَّثَنَا آدَمُ، قَالَ أَخْبَرَنَا شُعْبَةُ، أَخْبَرَنَا عَمْرُو بْنُ دِينَارٍ، قَالَ سَمِعْتُ جَابِرَ بْنَ عَبْدِ اللَّهِ ـ رضى الله عنهما ـ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم وَهُوَ يَخْطُبُ ‏ "‏ إِذَا جَاءَ أَحَدُكُمْ وَالإِمَامُ يَخْطُبُ ـ أَوْ قَدْ خَرَجَ ـ فَلْيُصَلِّ رَكْعَتَيْنِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 1136
In-book reference : Book 19, Hadith 1136
USC-MSA web (English) reference : Vol. 1, Book 1, Hadith 1136
  (deprecated numbering scheme)