It is narrated from Sayyiduna Hisham bin ‘Amir that (on the day of Uhud) the Companions complained to the Prophet (ﷺ) of their wounds and exhaustion, so the Prophet (ﷺ) said: Dig the graves, dig them well and wide, and bury two or three people in one grave, and place first the one who knows more of the Qur’an. My father also died, and he was placed in front of two men.
Hadith Referenceمسند احمد / مسند المدنيين رضي الله عنهم اجمعين / 16262