Sayyidah Umm ‘Atiyyah (Nusaybah bint al-Harith) رضي الله عنها said: I participated in seven battles with the Noble Prophet ﷺ; I would treat the wounded, prepare food for them, and guard their belongings.
Brief Explanation
(Commentary on Hadith 2458)
From this hadith, it is established that a woman may accompany the mujahideen in jihad, nurse the sick, serve the mujahideen, and look after their belongings; that is, in times of necessity, a woman can participate in jihad.
And Allah knows best.