ENOfficial
Hisham b. ‘Amir told that the Prophet (ﷺ) said on the day of Uhud, “Dig graves, make them wide, deep and beautiful, bury two or three together in a single grave, and put first the one who knew most of the Qur’an.” Ahmad, Tirmidhi, Abu Dawud and Nasa'i transmitted it, and Ibn Majah transmitted up to “beautiful”.
Source: sunnah.com
Other translations
Arabic
وَعَنْ هِشَامِ بْنِ عَامِرٍ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ يَوْمَ أُحُدٍ: «احْفُرُوا وَأَوْسِعُوا وَأَعْمِقُوا وَأَحْسِنُوا وَادْفِنُوا الِاثْنَيْنِ وَالثَّلَاثَةَ فِي قبر وَاحِد وَقدمُوا أَكْثَرهم قُرْآنًا» . رَوَاهُ أمد وَالتِّرْمِذِيُّ وَأَبُو دَاوُدَ وَالنَّسَائِيُّ وَرَوَى ابْنُ مَاجَهْ إِلَى قَوْله وأحسنوا
sunnah.com