Sahih Muslim, Book 51, Hadith 3 (Muslim 6943)

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.