Mirah said nothing, and when he had opened the outer door for her and closed it behind him, he walked by her side unforbidden. 
Mirah said nothing, and when he had closed the door behind them, he walked by her side unforbidden. 