Sayyiduna Jabir (may Allah be pleased with him) said: When a woman performs ghusl after sexual impurity, she does not need to undo her hair, but she should pour water over the roots of her hair and wash them.
Hadith Referenceسنن دارمي / من كتاب الطهارة / 1194