We were in the company of the Prophet (ﷺ) providing the wounded with water and treating them and bringing the killed to Medina (from the battle field) .
Sahih al-Bukhari Book 56, Hadith 97