From Sahih Bukhari (Hadith 5679):
Narrated Rubai bint Mu`adh bin Afra:We used to go for Military expeditions along with Allah's Messenger (ﷺ) and provide the people with water, serve them and bring the dead and the wounded back to Medina
Reference: Bukhari 5679