Hisham bin Amir reported,

The Ansar came to the Messenger of Allah ﷺ on the day of Uhud and said, "We have suffered wounds and exhaustion. What do you command us to do?"He said, "Dig the graves, make them wide, and place two or three men in each grave."It was asked, "Which of them should be placed first?"He said, "The one who knew the most of the Quran."The narrator said, "My father Amir was killed that day, buried between two others," or he said, "with one other."

Abu Dawud 3215

Sahih

حدثنا عبد الله بن مسلمة القعنبي أن سليمان بن المغيرة حدثهم عن حميد يعني ابن هلال

عن هشام بن عامر قال

جاءت الأنصار إلى رسول الله ﷺ يوم أحد فقالوا أصابنا قرح وجهد فكيف تأمرنا قال احفروا وأوسعوا واجعلوا الرجلين والثلاثة في القبر قيل فأيهم يقدم قال أكثرهم قرآنا قال أصيب أبي يومئذ عامر بين اثنين أو قال واحد

أبو داود 3215صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Funerals
Chapter
Deepening the grave
Numbering
Darussalam 3215
Abu Dawud 3215