Hadithcore
Musnad Ahmad 1463
sahih· Darussalam

It was narrated from A"ishah bint Sa"d, from her father, that

‘Ali (رضي الله عنه) went out with the Prophet (ﷺ) to Thaniyyat al Wada", and "Ali (رضي الله عنه) was weeping and saying: “Are you leaving me behind with those who stay behind (i.e., the woman, who do not go out on campaign)?” The Prophet (ﷺ) said: "Does it not please you to be to me as Haroon was to Moosa, except with regard to prophethood?”

References1 variant
Arabic/English book
Book 8, Hadith 1463