Ata said: If a man prays in congregation after having already prayed alone, his obligatory prayer will be the second one.