Sahih al-Bukhari 1353
Abdan narrated to us, (he said:) Abdullah (bin Mubarak) narrated to us. (He said:) Laith bin Sa'd told us. (Laith said:) Ibn Shihab told me. He narrated from Abdur Rahman bin Ka'b bin Malik, Abdur Rahman from Hazrat Jabir bin Abdullah (ra), that he said: The Prophet (saw) would put together two men at a time from among those slain at Uhud and then ask: “Which of them had learned more of the Qur’an by heart?” When one of them was pointed out to him, he would place him first in the side niche of the grave (Lahd), and he said: “On the Day of Resurrection I shall be a witness for them.” And he told them to bury them with their blood, and he did not have them washed.
AI-translated by Islam-Today
Book 78: The Lahd (a side extension of a grave) and the (straight) cut in the grave