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:2773bAḥmad b. Yūsuf al-Azdī > ʿAbd al-Razzāq > Ibn Jurayj > ʿAmr b. Dīnār > Jābir b. ʿAbdullāh

Jabir b. 'Abdullah reported that Messenger of Allah ( ﷺ) came to the grave of 'Abdullah b. Ubayy as he was placed in that. The rest of the hadith is the same.  

مسلم:٢٧٧٣bحَدَّثَنِي أَحْمَدُ بْنُ يُوسُفَ الأَزْدِيُّ حَدَّثَنَا عَبْدُ الرَّزَّاقِ أَخْبَرَنَا ابْنُ جُرَيْجٍ أَخْبَرَنِي عَمْرُو بْنُ دِينَارٍ قَالَ

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