A man from the Ansar, with the same meaning, and he, meaning the Prophet ﷺ, said, "Had I been present before he was buried, he would not have been buried in the graveyards of the Muslims."
حدثنا وهب بن بقية حدثنا خالد بن عبد الله هو الطحان عن خالد عن أبي قلابة
أن رجلا من الأنصار بمعناه وقال يعني النبي ﷺ لو شهدته قبل أن يدفن لم يدفن في مقابر المسلمين
No references are available.
Its chain of transmission is sahih. Nasai narrated it in al-Kubra, no. 4973, from the hadith of Khalid al-Tahhan, through this route. Abu Zayd is Amr bin Akhtab.