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 Quran most. He (Hisham) said: My father Amir died on the day and was buried with two or one.
Hadith Referenceسنن ابي داود / كتاب الجنائز / 3215
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:إسناده صحيح, مشكوة المصابيح (1703), أخرجه الترمذي (1713 وسنده صحيح) ورواه ابن ماجه (1560 وسنده صحيح) حميد بن ھلال صرح بالسماع عند أحمد (1/20)