Abu Zayd reported,

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."

Abu Dawud 3960

Sahih

حدثنا وهب بن بقية حدثنا خالد بن عبد الله هو الطحان عن خالد عن أبي قلابة

عن أبي زيد

أن رجلا من الأنصار بمعناه وقال يعني النبي ﷺ لو شهدته قبل أن يدفن لم يدفن في مقابر المسلمين

أبو داود 3960صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Emancipation of slaves
Chapter
Regarding one who freed his slaves when they did not reach one third
Numbering
Darussalam 3960
Abu Dawud 3960