Conduct while Traveling - Section 1 Mishkat al-Masabih 3907
Arabic hadith text
وَعَن جَابر قَالَ: كُنْتُ مَعَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي سَفَرٍ فَلَمَّا قَدِمْنَا الْمَدِينَةَ قَالَ لِي: «ادْخُلِ الْمَسْجِدَ فَصَلِّ فِيهِ رَكْعَتَيْنِ» . رَوَاهُ البُخَارِيّ
Translation
Jabir said
I was with the Prophet on a journey, and when we came to Medina he said to me, "Enter the mosque and pray two rak'as in it." Bukhari transmitted it.