Ayesha reported,

Whenever the Prophet ﷺ intended to set out on a journey, he would draw lots among his wives, and whichever one's lot came out, he would take her with him. On one expedition he drew lots among us, and my lot came out, so I traveled with the Prophet ﷺ. This was after the verse of the veil had been revealed.

Azami 7817

Sahih

عن عائشة قالت

كان النبي ﷺ إذا أراد أن يخرج أقرع بين نسائه فأيتهن يخرج سهمها خرج بها النبي ﷺ، فأقرع بيننا في غزوة غزاها فخرج فيها سهمي، فخرجت مع النبي ﷺ بعد ما أنزل الحجاب.

الأعظمي 7817صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Jihad
Chapter
Rulings on jihad and its etiquette
Section
Women's participation in military expeditions to serve the warriors
Numbering
Jami al-Kamil 7817 (2nd edition)
Azami 7817