حَدَّثَنِي أَحْمَدُ بْنُ يُوسُفَ الأَزْدِيُّ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا ابْنُ جُرَيْجٍ، أَخْبَرَنِي عَمْرُو بْنُ دِينَارٍ، قَالَ سَمِعْتُ جَابِرَ بْنَ عَبْدِ اللَّهِ، يَقُولُ جَاءَ النَّبِيُّ صلى الله عليه وسلم إِلَى عَبْدِ اللَّهِ بْنِ أُبَىٍّ بَعْدَ مَا أُدْخِلَ حُفْرَتَهُ . فَذَكَرَ بِمِثْلِ حَدِيثِ سُفْيَانَ .
Jabir b. 'Abdullah reported that Allah's Messenger (ﷺ) came to the grave of 'Abdullah b. Ubayy as he was placed in that. The rest of the hadith is the same.
Reference: Sahih Muslim 2773 b
In-book : Book 51, Hadith 3
USC-MSA web (English) : Book 38, Hadith 6679 (deprecated)