The following case could happen. We continue with the two minyanim (prayer quorum). One minyan prayed early Friday night, and the other prayed at the regular time. We said that if somebody comes late, he cannot answer Barechu (Bless [God]) to the early minyan if he did not pray Mincha. If he says Barechu, he has already accepted Shabbat, so he cannot pray Mincha.
He asked about a very interesting case. He said, imagine the second minyan has nine people and is missing one. They are going to pray Mincha, and now the first minyan has finished. They ask one of the people from the early minyan if he can come and complete the minyan for Mincha. Can he complete the minyan for Mincha or not? It is a very interesting question. I would think: Why not? He is a Jew. He did not become non-Jewish because he accepted Shabbat. What do you care? Well, surprisingly, he says it is better not to. It is better to find someone. If that is the only option, of course it works. But lechatchila (ideally), someone who has already accepted Shabbat in this fashion, having already prayed Arvit, should not be part of the minyan.
He quotes two very interesting sources. One source discusses a question that is very halacha lemaaseh (practical halacha). You are leaving the early minyan and hear Kedusha from the Mincha. Can you answer the Kedusha or not? He brings Hacham Rav Shlomo Kluger, who says you cannot, ve'afilu bechol (and even on a weekday). According to Rav Shlomo Kluger, even on a weekday, once you have finished Arvit, you are already in a different dimension, so you cannot answer Kedusha anymore. He says that is incorrect. Why? Because the source is Terumat HaDeshen, and Terumat HaDeshen says the only reason this could possibly be a discussion is zilzul to Shabbat, because you are bringing down the kavod (honor) of Shabbat. You are already in Shabbat mode. But during the week, if you say, “I already prayed Arvit, therefore I cannot answer Kedusha,” he says no. And even on Friday night, at the end of the day, you hear the Kedusha and answer it; there is no problem. Some disagree, but halacha lemaaseh. That is what we do.
By the way, some people have a question about Rosh Chodesh. Sometimes they hear the Keter (crown) of the Musaf while they are still wearing tefillin (phylacteries). They think you cannot answer Keter because you are still wearing tefillin. That is incorrect. You answer Keter even if you are wearing tefillin.
Coming back to our case, Hacham Ovadia says that lechatchila, somebody who has already prayed Arvit should not be the tenth in a minyan for Mincha. Someone who comes to complete the minyan, of course, could be counted in the minyan.