Praise be to Allaah.
We put this question to Shaykh Muhammad ibn Saalih al-‘Uthaymeen, may Allaah preserve him, who answered as follows:
Praise be to Allaah, the Lord of the Worlds, and peace and blessings be upon the most noble of the Prophets and Messengers, our Prophet Muhammad, and upon all his family and companions. They have to have an Ameerah to organize their affairs so that they will not be disorganized. This is the case with every group of people, whether on a journey, in the home, etc. If they appoint someone as an Ameerah, then they have to obey her, because the point of making someone an Ameer is to obey him. And Allaah knows best.
Sheikh Muhammed Salih Al-Munajjid