Sahih al-Bukhari 3087
Sahih al-Bukhari · Book 56: Fighting for the Cause of Allah (Jihaad) · The performance of Salat on returning from a journey
Narrated Jabir bin `Abdullah:
حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ ، حَدَّثَنَا شُعْبَةُ ، عَنْ مُحَارِبِ بْنِ دِثَارٍ ، قَالَ سَمِعْتُ جَابِرَ بْنَ عَبْدِ اللَّهِ ، رضى الله عنهما قَالَ كُنْتُ مَعَ النَّبِيِّ صلى الله عليه وسلم فِي سَفَرٍ فَلَمَّا قَدِمْنَا الْمَدِينَةَ قَالَ لِي " ادْخُلِ الْمَسْجِدَ فَصَلِّ رَكْعَتَيْنِ " .
I was on a journey in the company of the Prophet (ﷺ) and when we reached Medina, he said to me, "Enter the Mosque and offer two rak`at."