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.
muslim:875bAbū Bakr b. Abū Shaybah And Yaʿqūb al-Dawraqī > Ibn ʿUlayyah > Ayyūb > ʿAmr > Jābir

This hadith is narrated by Jabir through another chain of transmitters but Hammad (one of the narrators) made no mention of the two rak'ahs.  

مسلم:٨٧٥bحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ وَيَعْقُوبُ الدَّوْرَقِيُّ عَنِ ابْنِ عُلَيَّةَ عَنْ أَيُّوبَ عَنْ عَمْرٍو عَنْ جَابِرٍ

عَنِ النَّبِيِّ ﷺ كَمَا قَالَ حَمَّادٌ وَلَمْ يَذْكُرِ الرَّكْعَتَيْنِ