Midrash for Shevuot 59:10
מאי אם נפשך לומר וכי תימא אשה לאו אורחה משום (תהלים מה, יד) כל כבודה בת מלך פנימה נאמר כאן שני ונאמר להלן שני מה להלן בעדים אף כאן בעדים
[therefore I give the second deduction:] here it is said, 'two', and there it is sai 'two'; just as there it refers to witnesses, so here it refers to witnesses. Another [Baraitha] teaches: And the two men shall stand; the verse refers to witnesses. You say [it refers to] witnesses; but perhaps [it refers to] the litigants?
Sifrei Devarim
"the two men": This tells me only of men (as being required to stand). Whence do I derive (the same for) a man (contending with) a woman; a woman with a man; two women with each other? From "who have the contention" — in any event. If so, why is it written "men"?
Ask RabbiBookmarkShareCopy