We went out with the Messenger of Allah ﷺ for the funeral of a man from the Ansar, and I was a young boy accompanying my father. The Messenger of Allah ﷺ sat at the edge of the grave and began instructing the digger, saying, "Make it wider at the head, and wider at the feet, for he may have many a date-palm cluster in Paradise."
سمعته وحدي حدثنا محمد بن فضيل عن عاصم بن كليب عن أبيه
خرجنا مع رسول الله ﷺ في جنازة رجل من الأنصار وأنا غلام مع أبي فجلس رسول الله ﷺ على حفرة القبر فجعل يوصي الحافر ويقول أوسع من قبل الرأس وأوسع من قبل الرجلين لرب عذق له في الجنة
Its isnad is sahih. It has already appeared at 16215. See also Musannaf Abdul-Razzaq 3/508, no. 6500.