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.
حَدَّثَنِي أَحْمَدُ بْنُ يُوسُفَ الأَزْدِيُّ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا ابْنُ جُرَيْجٍ، أَخْبَرَنِي عَمْرُو بْنُ دِينَارٍ، قَالَ سَمِعْتُ جَابِرَ بْنَ عَبْدِ اللَّهِ، يَقُولُ جَاءَ النَّبِيُّ صلى الله عليه وسلم إِلَى عَبْدِ اللَّهِ بْنِ أُبَىٍّ بَعْدَ مَا أُدْخِلَ حُفْرَتَهُ . فَذَكَرَ بِمِثْلِ حَدِيثِ سُفْيَانَ .
Muslim
Characteristics of The Hypocrites And Rulings Concerning Them • Hadith 3