they halted their horses in the courtyard the complex while the door of the largest building opened and a middle-aged woman of 50 years , wearing a strange robe , stepped outside as she studied the men before she curtsied .