Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) says: The Messenger of Allah (peace and blessings be upon him) forbade a free woman from keeping her hair (i.e., up to the shoulders) and a slave woman from keeping her hair in a bun (i.e., gathered and tied together).