The Prophet (ﷺ) buried every two martyrs in of Uhud in one grave.
Sahih al-Bukhari Book 23, Hadith 100