Jabir bin Abdullah reported,

The Prophet ﷺ used to wrap two of those slain at Uhud in a single cloth, then he would ask, "Which of them had memorized more of the Quran?" When one was pointed out to him, he placed that one first in the grave and said, "I will be a witness over these on the Day of Resurrection." He ordered that they be buried in their blood, and they were neither washed nor prayed over.

Azami 8108

Sahih

عن جابر بن عبد الله قال

كان النبي ﷺ يجمع بين الرجلين من قتلى أحد في ثوب واحد ثم يقول: أيهم أكثر أخذا للقرآن؟ فإذا أشير له إلى أحدهما قدمه في اللحد وقال: أنا شهيد على هؤلاء يوم القيامة وأمر بدفنهم في دمائهم، ولم يغسلوا، ولم يصل عليهم.

الأعظمي 8108صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Jihad
Chapter
Martyrs and the rulings on martyrdom
Section
Martyr in the cause of Allah is not washed, his clothes in which he was martyred are not removed, and the funeral prayer is not offered over him
Numbering
Jami al-Kamil 8108 (2nd edition)
Azami 8108