The person who is performing Hajj should be free (i.e. not a slave to somebody), sane, adult, healthy and should be able to bear the necessary expenses and should be able to provide for the family until he returns. The way should be peaceful. For a woman, the company of either the husband or some other adult and pious Mahram relative is necessary. Hajj is not correct without the husband or other pious Mahram relative.
Translation of Hadith: The Holy Prophet (Sallallahu alaihi wa sallam) said: It is not permissible for a Momina (Muslim woman) to travel more than 3 leagues without her brother, husband or some other Mahram relative.