"On the day of Uhud the people were exhausted. The Prophet said: 'Dig graves and make them wide, and bury two or three in a grave.' They said: 'O Messenger of Allah, who should we 'put in first? He said: 'Put in first the one who knew the Qur'an most."' (Using translation from Nasāʾī 2015)
النَّبِيُّ ﷺ «احْفِرُوا وَأَوْسِعُوا وَادْفِنُوا الِاثْنَيْنِ وَالثَّلَاثَةَ فِي قَبْرٍ» قَالُوا يَا رَسُولَ اللهِ فَمَنْ نُقَدِّمُ؟ قَالَ «قَدِّمُوا أَكْثَرَهُمْ قُرْآنًا»