Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:14915ʿAffān > Shuʿbah > Muḥārib b. Dithār > Jābir

[Machine] He informed me, he said, I heard Jabir saying that he was with the Messenger of Allah ﷺ on a journey. When they reached the city, the Messenger of Allah ﷺ commanded him to go to the mosque and pray two units of prayer.  

أحمد:١٤٩١٥حَدَّثَنَا عَفَّانُ حَدَّثَنَا شُعْبَةُ قَالَ مُحَارِبُ بْنُ دِثَارٍ

أَخْبَرَنِي قَالَ سَمِعْتُ جَابِرًا يَقُولُ إِنَّهُ كَانَ مَعَ رَسُولِ اللهِ ﷺ فِي سَفَرٍ فَلَمَّا أَتَى الْمَدِينَةَ أَمَرَهُ أَنْ يَأْتِيَ الْمَسْجِدَ فَيُصَلِّيَ رَكْعَتَيْنِ  


See similar narrations below:

Collected by Ibn Ḥibbān

ذِكْرُ الْأَمْرِ لِلْقَادِمِ مِنَ السَّفَرِ أَنْ يَرْكَعَ رَكْعَتَيْنِ فِي الْمَسْجِدِ قَبْلَ دُخُولِهِ مَنْزِلَهُ

ibnhibban:2715Abū Khalīfah > Abū al-Walīd > Shuʿbah > Muḥārib b. Dithār > Jābir b. ʿAbdullāh

[Machine] I heard Jabir ibn Abdullah say, "We were with the Messenger of Allah during a journey. When we arrived in the city, the Prophet ordered him (Jabir) to go to the mosque and pray two rak'ahs."  

ابن حبّان:٢٧١٥أَخْبَرَنَا أَبُو خَلِيفَةَ حَدَّثَنَا أَبُو الْوَلِيدِ حَدَّثَنَا شُعْبَةُ أَخْبَرَنَا مُحَارِبُ بْنُ دِثَارٍ قَالَ

سَمِعْتُ جَابِرَ بْنَ عَبْدِ اللَّهِ يَقُولُ كُنَّا مَعَ رَسُولِ اللَّهِ ﷺ فِي سَفَرٍ قَالَ «فَلَمَّا أَتَى الْمَدِينَةَ أَمَرَهُ النَّبِيُّ ﷺ أَنْ يَأْتِيَ الْمَسْجِدَ فَيُصَلِّيَ رَكْعَتَيْنِ»