It is narrated from Sayyiduna Hisham bin Amir that on the day of the Battle of Uhud, people suffered great wounds and difficulties. The Prophet (ﷺ) said: Dig the graves wide and bury two or three people in each grave. The people asked: O Messenger of Allah! Who should be placed first? He said: The one who knows more of the Qur'an.
Hadith Referenceمسند احمد / مسند المدنيين رضي الله عنهم اجمعين / 16251
Hadith Gradingحکم دارالسلام:حديث صحيح، حميد بن هلال اختلف فى سماعه من هشام بن عامر الأنصاري