Sefer HaChinukh 77:1
Sefer HaChinukh 77:1
This mitzvah applies to males but not females, since women are not judges; regarding Devorah the prophetess who judged Israel, the passage explains that judgment was not actually decided by her word, but rather she was a wise woman and prophetess with whom people consulted even on matters of prohibition and permission and legal rulings, which is why she is described as judging Israel.
וְנוֹהֶגֶת מִצְוָה זוֹ בִּזְכָרִים אֲבָל לֹא בְּנָשִׁים, שֶׁאֵינָן דָּנוֹת, כְּמוֹ שֶׁאָמַרְנוּ לְמַעְלָה בְּהַרְבֵּה מְקוֹמוֹת. וְאַל יִקְשֶׁה עָלֶיךָ מָה שֶׁכָּתוּב בִּדְבוֹרָה הַנְּבִיאָה (שופטים ד ד) וְהִיא שֹׁפְטָה אֶת יִשְׂרָאֵל, שֶׁאֶפְשָׁר לָנוּ לְתָרֵץ שֶׁלֹּא הָיָה הַדִּין נֶחְתַּךְ עַל פִּיהָ, אֲבָל הָיְתָה אִשָּׁה חָכְמָה וּנְבִיאָה וְהָיוּ נוֹשְׂאִין וְנוֹתְנִין עִמָּהּ אֲפִלּוּ בִּדְבָרִים שֶׁל אִסּוּר וְהֶתֵּר וְדִינִין גַּם כֵּן, וְלָכֵן כָּתוּב עָלֶיהָ וְהִיא שֹׁפְטָה אֶת יִשְׂרָאֵל וכו'