It Is Mustaḥab to Repeat the Individually offered Prayer in Congregation
Issue No. 1229- When congregational prayer is being offered, it is mustaḥab for a person who has already offered his prayer individually, to repeat the prayer in congregation. If it turns out later that his first prayer was void, the second prayer will suffice.