Riyad as-SalihinChapter 7Hadith 309
Full Sharh — Riyad as-Salihin 309
عن كعب بن مالك رضي الله عنه أن رسول الله صلى الله عليه وسلم كان إذا قدم من سفر بدأ بالمسجد فركع فيه ركعتين . ((متفق عليه)) .
English Translation
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..
Source
Riyad as-Salihin(رياض الصالحين)
The Book of Etiquette of Traveling
Hadith Number
309