Hadithcore
Riyad as-Salihin, 1145

Jabir (May Allah be pleased with him) reported:

I came to the Prophet (ﷺ) when he was in the mosque, and he said to me, "Perform two Rak'ah prayer." <b>[Al-Bukhari and Muslim]</b>.

وعن جابر، رضي الله عنه قال‏:‏ أتيت النبي صلى الله عليه وسلم وهو في المسجد فقال‏:‏ ‏

‏صلِ ركعتين‏

‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Book 8, Hadith 155
Sharh · explanationclick to expand
<b>Guidance from the Hadiths:</b><br> 1) The greeting of the mosque is a strongly confirmed Sunnah. It is to be prayed whenever a person enters the mosque and intends to sit down.<br> 2) The purpose of the greeting of the mosque is to begin your stay in the mosque with a prayer, be it a Rawātib Sunnah, a Sunnah of ablution, or an obligatory prayer performed in congregation.<br> 3) By legislating the greeting of the mosque, the Shariah shows reverence to the houses of Allah and their sacredness.
Related hadiths1
Compare isnād across 1 related chains →