It is an issue of dispute among scholars. Some say that it is obligatory like males and some say that it is not permissible. the most authentic opinion is that it is recommended but it is neither mandatory nor forbidden.
As for thr daughters and wives of the Prophet salla Allahu alaihi wa sallam, we don’t have any information on this.