The Prophet (ﷺ) buried every two martyrs in of Uhud in one grave.

Sahih al-Bukhari Book 23 Hadith 101

Sahih al-Bukhari #1345

Funerals (Al-Janaa'iz) 23:101

Narrated Jabir bin `Abdullah:

The Prophet (ﷺ) buried every two martyrs in of Uhud in one grave.

Chapter: The burial of two or three men in one grave

Grade: Sahih