I took part with the Messenger of Allah (ﷺ) in seven battles. I would stay behind in the camp of men, cook their food, treat the wounded and nurse the sick.
Sahih Muslim Book 32, Hadith 172