fiqhsalatjamaaiadaimam-ratib
Whoever has prayed an obligatory prayer alone may repeat it in congregation for its merit, as a follower and never as imam. One does not repeat behind a single person (unless he is the appointed imam), nor a prayer already prayed in congregation (except in the holy mosques), nor after catching a rakat or more, nor the Maghrib. A mosque with an appointed imam does not hold the same prayer in congregation twice.