ON THE SUBJECT OF 178 GOING STRAIGHT TO THE MOSQUE UPON YOUR RETURN FROM A JOURNEY; JOURNEY'S END H 1001 "When the Prophet, praise and peace be upon him, returned from a journey he would go straight to the Mosque and offer two units (raka') of voluntary prayer." R 1001 Bukhari and Muslim with a chain up to Ka'ab son of Malik who related this.
باب استحباب ابتداء القادم بالمسجد الذي في جواره وصلاته فيه ركعتين 988- عن كعب بن مالِك رضي الله عنه : أنَّ رسولَ الله صلى الله عليه وآله وسلم كَانَ إِذَا قَدِمَ مِنْ سَفَرٍ ، بَدَأ بِالْمَسْجِدِ فَرَكَعَ فِيهِ رَكْعَتَيْنِ . متفقٌ عَلَيْهِ .