It is narrated from Sayyiduna Hisham bin Amir (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Dig the graves, make them well and wide, and bury two or three in one grave, and place in front the one of them who knew the most Qur'an." So my father was placed in front of two men.
Abd al-Warith added Abu al-Dahma' in the chain of this hadith.
Hadith Referenceالمعجم الكبير للطبراني / باب الهاء / 18668