Several women in headscarves are standing in a cobbled courtyard.
Women wearing headscarves stand in a cobbled courtyard.
Women wearing headscarves is a rephrasing of in headscarves.  Stand in is a rephrasing of standing.
women in headscarves implies they are wearing headscarves.
Women wearing headscarves, is a rephrase of women in headscarves