Hadithcore
Sahih al-Bukhari, 930
sahih

Narrated Jabir bin `Abdullah:

A person entered the mosque while the Prophet (ﷺ) was delivering the Khutba on a Friday. The Prophet (ﷺ) said to him, "Have you prayed?" The man replied in the negative. The Prophet (ﷺ) said, "Get up and pray two rak`at."

حَدَّثَنَا أَبُو النُّعْمَانِ، قَالَ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ عَمْرِو بْنِ دِينَارٍ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ، قَالَ جَاءَ رَجُلٌ وَالنَّبِيُّ صلى الله عليه وسلم يَخْطُبُ النَّاسَ يَوْمَ الْجُمُعَةِ فَقَالَ ‏"‏ أَصَلَّيْتَ يَا فُلاَنُ ‏"‏‏.‏ قَالَ لاَ‏.‏ قَالَ ‏"‏ قُمْ فَارْكَعْ ‏"‏‏.‏

References2 variants
In-Book Reference
Book 11, Hadith 54
USC-MSA web (English) reference
Vol. 2, Book 13, Hadith 52 (deprecated numbering scheme)
Sharh · explanationclick to expand
The prayer to “greet the mosque” (tahiyyat al-masjid) is one of the Sunnah prayers that the Prophet (blessings and peace of Allah be upon him) enjoined and encouraged the Muslims to do, even during the khutbah on Friday when the imam is on the minbar. We see that in this hadith, in which Jabir ibn ‘Abdillah (may Allah be pleased with him) narrates that the Prophet (blessings and peace of Allah be upon him) was delivering the khutbah one Friday, when a man entered the mosque during his khutbah, then sat down without praying. The Prophet (blessings and peace of Allah be upon him) said to him: “Have you prayed, O So-and-so?” This man’s name was Sulayk, as is mentioned another report. The man answered that he had not prayed, so the Prophet (blessings and peace of Allah be upon him) instructed him to get up and pray two rak‘ahs to “greet the mosque.” In al-Sahihayn it is narrated from Abu Qatadah al-Ansari (may Allah be pleased with him) that the Messenger of Allah (blessings and peace of Allah be upon him) said: “When one of you comes to the mosque, let him not sit down before he prays two rak‘ahs.” The Sunnah is to make these two rak‘ahs brief, as it says in Sahih Muslim: “Pray two rak‘ahs, and make them brief.” He told him to make them brief, so that he could finish them quickly and listen to the khutbah. This is indicative of the importance of these two rak‘ahs. This hadith indicates that the imam may speak to a member of the congregation and instruct him to pray during the khutbah, and to point out any mistake the worshipper may make..
Related hadiths6
Compare isnād across 6 related chains →