Hadithcore
Riyad as-Salihin, 988

Ka'b bin Malik (May Allah be pleased with him) reported:

Whenever the Messenger of Allah (ﷺ) returned from a journey, he would proceed straight to the mosque and perform two Rak'ah of (optional) prayer. <b>[Al-Bukhari and Muslim]</b>.

عن كعب بن مالك رضي الله عنه أن رسول الله صلى الله عليه وسلم كان إذا قدم من سفر بدأ بالمسجد فركع فيه ركعتين ‏.‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏ ‏.‏

References1 variant
In-Book Reference
Book 7, Hadith 33
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) A person’s bond with his Lord and hastening to show gratitude to Him upon returning from travel takes precedence over his bond with people.<br> 2) It is a confirmed Sunnah that a person returning from travel should offer two Rak‘ahs (units of prayer). The Prophet (may Allah’s peace and blessings be upon him) did it and urged us to follow suit. He said to Jābir ibn ‘Abdullāh al-Ansāri: “Did you enter the mosque and pray?” He said: “No.” The Prophet said: “Enter the mosque and offer two Rak‘ahs.” [Narrated by Al-Bukhāri]
Related hadiths1
Compare isnād across 1 related chains →