"My father was killed on the day of Uhud, and the Prophet said: 'Dig graves and make them good and wide, and bury two or three in a grave, and put in first the one who knew the Qur'an most.' My father was the third of three, and the one who knew the Qur'an most was placed (in the grave) first." (Using translation from Nasāʾī 2018)
النَّبِيُّ ﷺ «احْفِرُوا وَأَوْسِعُوا وَأَحْسِنُوا وَادْفِنُوا الِاثْنَيْنِ وَالثَّلَاثَةَ فِي الْقَبْرِ وَقَدِّمُوا أَكْثَرَهُمْ قُرْآنًا فَكَانَ أَبِي ثَالِثَ ثَلَاثَةٍ وَكَانَ أَكْثَرَهُمْ قُرْآنًا فَقُدِّمَ»