ANSWER:
Both of you are right.
It’s sunnah to pray again (with the intention of voluntary prayer) if he already prayed and congregation is going on because people might think wrong about him.
For women it’s not obligatory to pray in Masjid in congregation so what you did was OK for you.