Sunan Abi Dawud, Hadith 3215

Narrated Hisham ibn Amir: The Ansar came to the Messenger of Allah on the day of Uhud and said: We have been afflicted with wound and fatigue. What do you command us? He said: Dig graves, make them wide, bury two or three in a single grave. He was asked: Which of them should be put first? He replied: The one who knew the Qur'an most. He (Hisham) said: My father Amir died on the day and was buried with two or one.

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ الْقَعْنَبِيُّ، أَنَّ سُلَيْمَانَ بْنَ الْمُغِيرَةِ، حَدَّثَهُمْ عَنْ حُمَيْدٍ، - يَعْنِي ابْنَ هِلاَلٍ - عَنْ هِشَامِ بْنِ عَامِرٍ، قَالَ جَاءَتِ الأَنْصَارُ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم يَوْمَ أُحُدٍ فَقَالُوا أَصَابَنَا قَرْحٌ وَجَهْدٌ فَكَيْفَ تَأْمُرُنَا قَالَ ‏"‏ احْفِرُوا وَأَوْسِعُوا وَاجْعَلُوا الرَّجُلَيْنِ وَالثَّلاَثَةَ فِي الْقَبْرِ ‏"‏ ‏.‏ قِيلَ فَأَيُّهُمْ يُقَدَّمُ قَالَ ‏"‏ أَكْثَرُهُمْ قُرْآنًا ‏"‏ ‏.‏ قَالَ أُصِيبَ أَبِي يَوْمَئِذٍ عَامِرٌ بَيْنَ اثْنَيْنِ أَوْ قَالَ وَاحِدٌ ‏.‏

sunnah.com