Sahih al-Bukhari, Volume 4, Book 52, Hadith 320 (USC-MSA) ⓘ
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."
حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ، حَدَّثَنَا شُعْبَةُ، عَنْ مُحَارِبِ بْنِ دِثَارٍ، قَالَ سَمِعْتُ جَابِرَ بْنَ عَبْدِ اللَّهِ، رضى الله عنهما قَالَ كُنْتُ مَعَ النَّبِيِّ صلى الله عليه وسلم فِي سَفَرٍ فَلَمَّا قَدِمْنَا الْمَدِينَةَ قَالَ لِي " ادْخُلِ الْمَسْجِدَ فَصَلِّ رَكْعَتَيْنِ " .
also referenced under: Book 56, Hadith 292 (In-Book) & Hadith 3087 (DarusSalam)